Buttons are inputs used by players to play your game. When the button is pressed, linked nodes will receive values and/or be executed.
https://www.youtube.com/shorts/Hb-uZtN9rhk?feature=share
Enabled | Enable or disable to node. Disabled Nodes cannot be executed |
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.
To create more complex button layouts use the User Interface Node.
Here's a link to the hype that shows how to implement and use the Button node: