Bool Invert
Flips a bool variable to the opposite value.
TruebecomesFalseFalsebecomesTrue
Parameters
| Parameter | Description |
|---|---|
| Variable | The bool variable to invert. |
Example
Useful for toggles.
- Add Bool Invert.
- Set Variable to
IsPaused. - Trigger this state from a pause button event.
Each trigger alternates pause on/off.