Diagnostic

E5117

Alert.when(…) must be called on the top level of the script (not inside if, for or a function).

Kind
ERROR
Raised
While the script is read and checked
Group
Engine

Message

The part in color is filled in with the details of the problem.

alert.when(…) must be called on the top level of the script (not inside if, for or a function)

The code is stable; the wording may change. Back to the index.