getRuntimeMode

getRuntimeMode(): string

Returns the runtime mode of Squirrel.

RuntimeMode
Description

design

Is in Design mode in the designer

interactive

Is in Debug mode in the designer

preview

Is in Preview mode in the designer

live

Is in Runtime (i.e. an exported project being run in the browser)

Support for this method was added on release 1.12.x

Last updated

Was this helpful?