Key Released
What it does
Key Released changes a task when the local player releases the chosen input. Use it when the end of a hold matters more than the initial press.
Required item compatibility
This is a player-input event. Add it through an item that offers the Tasks panel.
Setup
- Add Key Released and choose a task transition.
- Choose the input in With A Key Code Of.
- Add effects to the destination state.
Settings
| Setting | What it means |
|---|---|
| With A Key Code Of | Input from the available key selector. |
Tiny example
A player presses an input to begin Charging, then releases it to change Active → Completed and trigger the resolved action.
Test and troubleshoot
- Test in normal play, not in a text field or iframe.
- If it appears not to work, first test the same input with Key Pressed to confirm the input is available.
- Use task states to prevent repeated releases from retriggering a completed action.
