Skip to content

@modoki/engine / index / findEntityById

Function: findEntityById() ​

findEntityById(entityId, world?): any

Find an entity by numeric ID in the given world (defaults to current main).

Parameters ​

entityId ​

number

world? ​

World = ...

Returns ​

any

Built with Modoki.