Skip to content
OliverF edited this page Feb 25, 2014 · 1 revision

Gets the size of the control.

Syntax

number,number control:GetSize()

Returns

  1. number
    Width of control in pixels
  2. number
    Height of control in pixels

Example

local label = RSAS.GUI.Control("label", "myLabelID")
label:SetSize(10, 10)
local x,y = label:GetSize()

Clone this wiki locally