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

AbilityBar

AbilityBar(props): Element

The player’s abilities on an action bar: each one the player holds, from any source, on a slot and a key, with primary on the large button at the arc’s centre. Each slot shows its own cooldown; the slot last pressed shows the global one too, whichever ends later. The player’s page runs the cast on the press, so the casting slot fills its rim over the wind-up from the press on. From the release the global cooldown sweeps that slot alone while the others lock, before the room answers. A slot tints red while the character’s target is out of its range and blue while the character cannot pay its cost, and a held key shows on its slot. A refused cast’s reason shows under the bar until the player’s next cast. Every default is a prop.

Parameter Type
props AbilityBarProps

Element