Index | Collapse All Expand All

GetPosition Method
Control Class Members See Also

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

# Syntax

Lua
    function Control:GetPosition();

#### Returns

Type: number, number
List of two elements containing the left and top positions of the control.

# Remarks

Gets the left and top positions of the control, returning them as a pair of integer values.

# See Also

- Control
- Turbine.UI