Skip to content

@modoki/engine / index / SystemOptions

Interface: SystemOptions

Optional extras a system can declare at registration.

ECS Core

actions?

optional actions?: Record<string, UIActionDef | UIActionHandler>

Named UIAction handlers owned by this system. They are folded into the action registry on register and removed on unregister, so a button's binding can invoke the system's logic and the editor's action dropdown lists them — with no separate bookkeeping. A value may be a bare handler or a { handler, params } def that declares typed arguments for the editor.

Built with Modoki.