DriftScript bindings · const

ENGINE_MODULES

What the engine can provide. Everything wired; nothing that is not.

Explained in Setting up scripts.

const ENGINE_MODULES: readonly string[]
import { ENGINE_MODULES } from '@driftengine/script';

In depth

drift/core is deliberately absent: §11 gives its provider as startLoop and LoopHooks, which are what drives a script rather than what a script calls. A module with nothing to call is not registered rather than registered empty.