Skip to content

Bool Invert

Flips a bool variable to the opposite value.

  • True becomes False
  • False becomes True

Parameters

Parameter Description
Variable The bool variable to invert.

Example

Useful for toggles.

  1. Add Bool Invert.
  2. Set Variable to IsPaused.
  3. Trigger this state from a pause button event.

Each trigger alternates pause on/off.