Skip to content

findFollowedHero

findFollowedHero(world): Entity | undefined

Defined in: packages/engine/src/gameplay/camera/camera.ts:271

The hero the camera aims at, drawn and measured, or undefined where no camera follows one.

Parameter Type
world World

Entity | undefined