Boolean variables > Support for toggling value

It would be nice if we can toggle a boolean variable easily instead of having to use conditional.

Example solutions:

  1. Set variable [variable_name] to [!variable_name]
    image
  2. Set variable [boolean_variable] to [true, false, toggle]
2 Likes

The ability to have the Boolean event be toggle would be amazing. Right now you can only set the Boolean to true or false with a click. With successive clicks you can’t turn it back off - hence the need for the option of Toggle. Updated to note that yes, you can use conditional functionality to make this happen but having it be a single select option is ideal.

1 Like

To create toggle functionality, you can add a conditional to check the current state of the object, and then set the boolean to whatever state it currently is/is not. It’s extra work, but it does the job :slight_smile:

1 Like

Yup, but it would be better if we can toggle it easily instead of using conditional.

1 Like

+1, this would make boolean variables so much better

This is now possible (not sure if it’s a new feature):

Simply add not or ! before the variable

Here it is in action:

1 Like

Not sure if this existed when I posted this, but thanks! This should do the trick.