ScreenObject - iimurpyh/pilot-lua GitHub Wiki

An object created on a Screen. You can edit the properties as if it was a normal table. Ex: Text.Size = UDim2.new(1, 0, 1, 0)

Table of contents

Methods


void ScreenObject:ChangeProperties(dictionary properties)

Sets the given properties for the ScreenObject.


void ScreenObject:AddChild(ScreenObject child)

Parents the given ScreenObject to this one.


ScreenObject ScreenObject:Clone()

Create a copy of the ScreenObject and all its children, ignoring ScreenObjects that are not Archivable.


void ScreenObject:Destroy()

Destroys this ScreenObject and all its children.