Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
The Button control responds to a click from the user and is used to initiate or confirm an action. Familiar examples include the Submit and Cancel buttons used on web forms.
|Interactable||Will this component will accept input? See Interactable.|
|Transition||Properties that determine the way the control responds visually to user actions. See Transition Options.|
|Navigation||Properties that determine the sequence of controls. See Navigation Options.|
|On Click||A UnityEvent that is invoked when when a user clicks the button and releases it.|
The button is designed to initiate an action when the user clicks and releases it. If the mouse is moved off the button control before the click is released, the action does not take place.
The button has a single event called On Click that responds when the user completes a click. Typical use cases include: