Variable engineConst

engine: IEngine

The engine is the part of the scene that sits in the middle and manages all of the other parts. It determines what entities are rendered and how players interact with them. It also coordinates what functions from systems are executed and when.

Example

import { engine } from '@dcl/sdk/ecs'
const entity = engine.addEntity()
engine.addSystem(someSystemFunction)