If false, the button will be visible but will not respond to hover or touch interactions.
Whether the component is enabled.
Duration to be used when fading between tints, in milliseconds.
An array of 4 numbers controlling the padding to be used in hit-test calculations.
The id
of the sprite asset to be used as the button image when the user hovers over it.
Frame to be used from the hover sprite.
Array of 4 numbers controlling the color to be used on the button image when the user hovers over it.
The resource_id
of the entity to be used as the button background. Must have an element component of type image
.
The id
of the sprite asset to be used as the button image when the button is not interactive.
Frame to be used from the inactive sprite.
Array of 4 numbers controlling the color to be used on the button image when the button is not interactive.
The id
of the sprite asset to be used as the button image when the user presses it.
Frame to be used from the pressed sprite.
Array of 4 numbers controlling the color to be used on the button image when the user presses it.
Controls how the button responds when the user hovers over it/presses it.
Button Component Properties.