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

updateTarget

updateTarget(world, character, settings): void

Keeps character’s target current, once a frame: a pinned target stays while it is a hostile target alive, and otherwise soft lock takes the nearest in front and tab mode takes none.

Parameter Type
world World
character Entity
settings TargetingSettings

void