Buttons are inputs used by players to play your game. When the button is pressed, linked nodes will receive values and/or be executed.
Object Name | Name the Button object so you or Remixers can easily identify it's purpose when in the Editor |
Enabled | Enables the node’s function. |
Visible | Determines if the Button is visible or not. |
Preview | Preview the Button in the Editor without Playtesting |
“On End” When Disable Cancels Touch | When enabled, On End is executed when the node is disabled. |
Appearance | Choose between different visual styles for the Button |
Icon | Select different icons to appear on the Button to help players understand what it does. |
Align X | Select the horizontal placement of the button |
Align Y | Select the vertical placement of the Button |
Touch Area Size | Screen area in which the button listens to touches. |
Color | Select the color of the Button from available UI Colors or create a new color. |
Icon Color | Select the color of the Button Icon from available UI Colors or create a new color. |
Description | Select between preset descriptions or create custom text to appear on the Button to help players understand what it does. |
On Start | Output signals or values when the Button is pressed |
On End | Output signals or values when the Button is released |
On Down | Output signals or values continuously when the Button is held |
Buttons appear in one of 9 preset screen locations based on the screen dimensions of the player's device. More precise placement of buttons can be achieved with the User Interface Node.
Make an Object Jump on Button Press • 0:45 • Annotated Tutorial
Includes using Button & Force components
Disable Jump Button in the Air • 1:37 • Annotated Tutorial
Includes using Button, Force, Compare & Raycast components
Make Counters That Track Screen Region Taps • 5:13 • Stream Segment
Includes using Button, Text, Compare, Value Inspector & Time components.
Here's a link to the hype that shows how to implement and use the Button node: