On Spell Cast Start

Description

Fires when a player begins a cast-time spell — after the spell's START-time usability and reagent checks have passed and the cast bar starts ticking.

Use this trigger inside a spell's Skills: block to play "channel begin" effects, apply a self-only debuff, etc.

Trigger Variables

The same variables are available on every cast-lifecycle trigger:

Variable Type Description
<skill.var.spell-name> string The spell's internal id
<skill.var.cast-id> string A unique id for this cast attempt
<skill.var.cast-time> float The total cast time in seconds
<skill.var.cast-remaining> float Remaining cast time in seconds
<skill.var.cast-progress> float Progress, 0.01.0

Examples

Play a charging sound and a particle ring when the player starts casting Fireball:

fireball:
  Spell: true
  CastTime: 2s
  Skills:
  - sound{s=block.beacon.activate;v=0.5} @self ~onSpellCastStart
  - particlering{particle=flame;radius=1.5;points=20} @self ~onSpellCastStart
  - projectile{...}

Aliases

  • ~onCastStart
Updated Aug 19, 2026