Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findPlayerBehind

findPlayerBehind(readonlyWorld, entity): PlayerEntity | null

The player behind entity: itself when it is a player entity, the player who controls it, or the one player whose presence it is; null for an NPC’s. An entity two players name as presence is neither’s, and a development world warns, so the order of players never picks a side. What the team question and a match’s members are read through. As Unreal’s instigator controller.

Parameter Type
readonlyWorld World
entity Entity

PlayerEntity | null