Index | Collapse All Expand All

SetPosition Method
Control Class Members See Also

Beta Documentation - Subject to change.
Sets the position of the control.

# 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.

# See Also

- Control
- Turbine.UI