Diagnostic

E5112

…(…) 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.

{name}(…) must be called on the top level of the script (not inside if, for or a function)

Details the message can carry

name

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