Widget/API/SetPos

__NOTOC__
Sets the absolute position of a UI component.
MyUIComponent(xpos,ypos)
== Parameters ==
=== Arguments ===
:;xpos
::number - X coordinate position to use.
:;ypos
::number - Y coordinate position to use.
=== Returns ===
:;None
== Example ==
texture:SetPos( xPos, yPos - 1 );
== Notes ==
Positions set in the manner appear to always be aligned from the top left corner of both the object and the screen.
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout