Guide to the Godot game engine/If conditions
These keywords are for if statements.
not
editThe not keyword reverses the condition that is placed afterword.
As an alternative, you can use "!".
and
editThe and keyword checks if the values before and after it are both true.
or
editThe or keyword checks if a value before or after it is true.