Passed to a shortcut’s when check and to a function run.
The engine API is engine-only: the context carries just the engine. Scope is
handled by the dispatcher (via the shortcut’s scopes), not here — when
only checks engine state (edit mode, selection, …). A host that needs richer
state (the web editor’s cesdk) closes over it in the predicate it registers.
Properties#
| Property | Type | Description |
|---|---|---|
engine | CreativeEngine | The engine, for checking state like edit mode or selection. |