Beta Documentation - Subject to change.

Sets the size of the control.

Syntax

Lua
function Control:SetSize(width, height);

Parameters

width
Type: number
The desired width.
height
Type: number
The desired height.

Remarks

Sets the size of the control.

See Also