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

CastRefusedEvent

const CastRefusedEvent: EventHandle<CastRefusedRecord, Reliable, Entity>

On the caster each time the room refuses the caster’s cast, as it starts or once it waited for the caster to walk into range: why, and, for Refusal.NoResource, the resource the caster had too little of, which the page shows in one line. Its cause is the cast command, while its sender is still in the world, so the sender’s page alone reads it as the refusal of the sender’s own cast; a cast whose sender left before it was refused carries no cause.