Skip to main content

Getting the Library

Notify

Returns a Notification class, containing it’s renders.
table
A table containing the duration and text of the notification. E.g. { Time = 3, Text = "Hello, world!" }

Find

Returns the first Window within the Library from the given name and the Index it is cached at internally within the Windows cache.
string
required
The name of the Window.

Fade

Fades an Object for 0.25 seconds, fires the Object’s fade callbacks and closes all of the Object’s open content. Object must contain “Outline”, this is required for fading to function and serves as the highest frame in the hierarchy.
table
required
The Object to fade.
boolean
required
The new Visibility to fade into.

BoxWidget

Creates a widget in the center of the screen or window provided containing a confirm button, cancel button and a textbox.
string
The title of the widget.
string
The text to be displayed in the confirm button.
string
The text to be displayed as a placeholder in the textbox.
function
The callback function to call once the widget is confirmed.
table
When provided, the widget is centered to the window and an overlay is drawn above it.

LabelWidget

Creates a widget in the center of the screen or window provided containing a confirm button, cancel button and a label.
string
The title of the widget.
string
The text to be displayed on the label.
string
The text to be displayed in the confirm button.
function
The callback function to call once the widget is confirmed.
table
When provided, the widget is centered to the window and an overlay is drawn above it.

HoverWidget

Creates a widget which is displayed when your mouse hovers over the provided frame.
instance
required
string
The text to display within the widget.
function
The condition function to consider when hovering.

BindCondition

Binds a flag to another. Shows the first flag when the second flag has a valid value.
table
required
The flag to show/hide.
table
required
The considered flag.
any
required
When a strict value is passed (e.g. true), only this value is considered. However, if a table is passed, multiple values can be considered (e.g. { “Head”, “Torso” })