I’m trying to change a boolean (1 or 0) into the inverse within a action. Right now I’m using a method that works but isn’t very clean:
Absolute Value(Subtract(my_boolean, 1))
But is there something like C’s ~
operator or Python’s Not
?
There is a “not()” action in workshop and afaik “true” and “false” are represented by 1 and 0 in workshop. I have’nt tried it, but not() might do what you want.
1 Like
Thanks! I’ll try it soon and let you know the results.