GIsEditor

True if we are in the editor.

Choose your operating system:

Windows

macOS

Linux

Syntax

bool GIsEditor

Remarks

True if we are in the editor.

that this is still true when using Play In Editor. You may want to use GWorld->HasBegunPlay in that case. Whether this executable is running the cook commandlet