Beta Documentation - Subject to change.

Gets the size of the control.

Syntax

Lua
function Control:GetSize();

Returns

Type: number, number
The width and height as a pair of integers.

Remarks

Gets the size of the control, returning the pair of width and height in a list of integers.

See Also