if its true
if its not true.
so this would do the trick?
are sure the "!" means true? ???
Checks if the variable is defined. If it is, the code in the if statement runs.
Checks if the variable is not defined. If it is not defined, the code in the if statement runs.
It means exactly what it would mean if you read it as a sentence. "If variable is defined" and "if variable is not defined".
^ means "if not".
would mean "If player is not touching trigger".
The ! has to go at the beginning of the return statement when you use a function that has to be called on an entity, like isTouching().