Skip to content

Control:SetLocation

OliverF edited this page Feb 25, 2014 · 1 revision

Sets the location of the control.

Syntax

nil control:SetLocation(number x, number y)

Returns

  1. nil

Arguments

  1. number x
    X location of the control relative to parent in pixels
  2. number y
    Y location of control relative to parent in pixels

Example

local label = RSAS.GUI.Control("label", "myLabelID")
label:SetLocation(10, 10)

Clone this wiki locally