JavaScript

    Singleton that connects the engine with the browser’s JavaScript context in HTML5 export.

    Note: This singleton can be disabled at build-time to improve security. By default, the JavaScript singleton is enabled. Official export templates also have the JavaScript singleton enabled. See in the documentation for more information.

    If is , the code will be evaluated in the global execution context. Otherwise, it is evaluated in the execution context of a function within the engine’s runtime environment.