Skip to content

isPlayerHero

isPlayerHero(hero): boolean

Defined in: packages/engine/src/gameplay/hero/actions.ts:38

Whether this side’s player steers the hero: hers is the one under the client’s authority.

Parameter Type
hero Entity

boolean