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
classNamecan be passed to select only a specific type of object. (The effect ofpropertiesis currently unknown)
ScreenObject Screen:CreateElement(string className, dictionary properties)
Creates a
classNameelement and returns it wrapped as a ScreenObject.