The color of the cooldown spinner and progress bar on the button. Set this value using setAccentColor
The color of the background of the button. Set this value using setBackgroundColor
The color of the border on the button. Set this value using setBorderColor
If set this value is the Unix Timestamp at which this button's cooldown will expire. Set this value using setCooldown
The spark cost of this button in sparks. Set this value using setCost
The color around the border of the button when in focus. Set this value using setFocusColor
A keycode which will trigger this button if pressed on a participant's keyboard.
A decimalized percentage (0.0 - 1.0) which controls how wide this button's progress bar is.
Set this value using setProgress
The text displayed on a button, presented to the participants. Set this value using setText
The color of the text displayed on the button. Set this value using setTextColor
The size of the text displayed on the button. Set this value using setTextSize
The tooltip text displayed when the participant hovers over the button. Set this value using setTooltip
Disables this control, preventing participant interaction.
Enables this control, allowing participant interaction.
Sends an input event from a participant to the server for consumption.
Merges in values from the server in response to an update operation from the server.
Called by client when it receives an input event for this control from the server.
Sets a new accent color for this button.
Sets a new background color for this button.
Sets a new border color for this button.
Sets the client instance this control can use to execute methods.
Sets the cooldown for this button. Specified in Milliseconds. The Client will convert this to a Unix timestamp for you.
Sets the spark cost for this button. An Integer greater than 0
Sets a new focus color for this button.
Sets a progress value for this button. A decimalized percentage (0.0 - 1.0)
Sets the scene this control belongs to.
Sets a new text value for this button.
Sets a new text color for this button.
Sets a progress value for this button. A decimalized percentage (0.0 - 1.0)
Sets a new tooltip value for this button.
Update this button on the server.
Generated using TypeDoc
Buttons can be pushed by participants with their mouse or activated with their keyboards.