Screen - iimurpyh/pilot-lua GitHub Wiki
A part which can display GUI content on its surface
Table of contents
Methods
Vector2 Screen:GetDimensions()
void Screen:ClearElements(string className, dictionary properties)
ScreenObject Screen:CreateElement(string className, dictionary properties)
Vector2 Screen:GetDimensions()
Gets the Screen's width and height as a Vector2.
void Screen:ClearElements(string className, dictionary properties)
Clears the elements on the screen. Optionally a
className
can be passed to select only a specific type of object. (The effect ofproperties
is currently unknown)
ScreenObject Screen:CreateElement(string className, dictionary properties)
Creates a
className
element and returns it wrapped as a ScreenObject.