lib.pixi.Theme

The Button class defines a clickable/touchable button. Use custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more. Buttons will appear pressed when active. Make buttons look inactive by setting the disabled state to true. To allow changing the state between active/inactive, set the button type to "checkbox".

Let's look at some button examples:


What you should see: Many buttons with very different styling and behaviour.