411 REFERENCE · Wikibooks
Guide to the Godot game engine/Programming/GDScript/If conditions
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Programming/GDScript/If statements Programming/GDScript/Data types If statements Data types
These keywords are for if statements.
not
The not keyword reverses the condition that is placed afterword.
As an alternative, you can use "!".
and
The and keyword checks if the values before and after it are both true.
or
The or keyword checks if a value before or after it is true.