Syntax
Lua |
---|
function Control:SetPosition(left, top); |
Parameters
- left
-
Type:
number
The left position of the control.
- top
-
Type:
number
The top position of the control.
Remarks
Sets the position of the control relative to its parent control. If the control is not parented, the position is in screen space.