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

useRowAbilities

useRowAbilities(id): AbilityInspection | undefined

The abilities of the entity the row id stands for and the numbers that decide a cast, as readAbilityInspection reads them, or undefined where it holds none or no world is attached. The caller renders again on each frame the numbers change: the target’s reach and the cooldowns move without a write a subscriber hears.

Parameter Type
id string | null

AbilityInspection | undefined