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

Removes the control from its parent control.

Syntax

nil control:Remove()

Returns

  1. nil

Example

local button = RSAS.GUI.Control("button", "myButtonID")
local label = RSAS.GUI.Control("label", "myLabelID")
label:SetParent(button) --add label to button as a child
label:Remove() --remove from button

Clone this wiki locally