# getRuntimeMode

Returns the runtime mode of Squirrel.&#x20;

<table><thead><tr><th width="202">RuntimeMode</th><th>Description</th></tr></thead><tbody><tr><td>design</td><td>Is in Design mode in the designer</td></tr><tr><td>interactive</td><td>Is in Debug mode in the designer</td></tr><tr><td>preview</td><td>Is in Preview mode in the designer</td></tr><tr><td>live</td><td>Is in Runtime (i.e. an exported project being run in the browser)</td></tr></tbody></table>

{% hint style="info" %}
Support for this method was added on release 1.12.x
{% endhint %}
