A button can be pressed by the user to trigger an action.
Create a new button.
Callback to run when the button is pressed.
Handle mouse input. By default, this will call the pressed delegate if the button is pressed.
See Implementation
A button can be pressed by the user to trigger an action.