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

SpellLookProps

Property Type Default value Description
ability string undefined The ability, by the name it is registered under.
area? SpellParts undefined Mounted at the caster’s feet as an area ability releases, for areaSeconds: a ring that races out, a rune circle, shards. Each part ages from its mount.
areaSeconds? number 2 Seconds the area parts stay mounted.
beam? (ends) => ReactElement undefined Drawn once per target struck, from where the strike came from to the target, for beamSeconds: handed both ends, as Roblox’s Beam takes two attachments. SpellBeam arcs between them.
beamSeconds? number 0.35 Seconds each beam stays mounted.
charge? SpellParts undefined Plays in the caster’s right hand while she winds the cast up, from the page’s own press on her, and stops at its release or its cancel.
chargePosition? Position [0, 0, 0] Metres from her hand the charge plays at, in the hand’s axes as HeldItem’s position takes them: a staff’s tip.
chargeRotation? HeldItemRotation [0, 0, 0] The charge’s turn in the hand’s axes, as HeldItem’s rotation takes it: the staff’s own axes, so a swirl turns about the staff.
color? ColorRepresentation undefined The colour every particle of every effect starts with. Left out, each effect’s own.
impact? SpellEffects undefined Plays once where each projectile ends: on its target, on cover or at its range; and, for an area ability, at the caster’s feet as it releases.
model? string undefined A registered model drawn at each projectile.
projectile? SpellParts undefined Rides each projectile the ability launches, in its space: an element’s useFrame reads where it flies.
strike? SpellEffects undefined Plays once on each target the ability strikes: a projectile’s hit, each within an area, and each link of a chain.