Skip to content

findControllerOwner

findControllerOwner(world, entity, name): number | null

Defined in: ui/controller/ui-controller.ts:75

The entity that OWNS the controller named name, searching entity then its ancestors (nearest wins). Null if no ancestor declares it. This is how a gear on a leaf finds the controller on the UI root.

World

number

string

number | null