When Release
Fires when the player lets go of the joystick.
Introduction
When Release is an event in the Joystick group of UI Events. It fires when the player lets go of the joystick. When it fires, the event hands one value to your script: the Player who let go of the joystick. Like every event, it does nothing by itself. It waits for the right moment, then runs all the actions connected to it. Releasing the joystick is when characters should stop: pair this event with When Pressed to bracket each touch, and with When Dragged to read movement while the thumb travels. The element and its dead-zone settings live in the UI Joystick guide. When Release event in the UI Editor Image The When Release event in the UI Editor. caption When Joystick is Released, Fires when the player lets go of the joystick. This event belongs to the "Joystick" group in UI Events. Trigger: fired by player. Event outputs: Angle, Direction.
Parameters
Player the player who let go of the joystick Parameter Description
How to Access
How to Access - When Joystick Released
How to Use
Select the joystick element and open its properties, then find its component block. Check that the When Released event is listed in the block; if it is hidden, press the three dots (...) at the top right of the block and check it in the pop-up list. Press Scripts + next to When Released , then add the actions that should run when the event fires: what should run when steering ends, such as stopping movement. Reset joystick visuals that changed on press. Press Play and release the joystick to confirm the cleanup runs.
Example
Example: the character stops moving and the joystick returns to its idle look when the player lets go.
Common Uses
Stop movement when steering ends Reset joystick visuals End continuous sounds started on press
Tip
Releasing outside the joystick base still counts as a release in most setups. Test quick flicks and long drags both.