Script.isTool

Returns true if the script is a tool script. A tool script can run in the editor.

struct Script
@nogc nothrow const
bool
isTool
()

Meta