Motion
Get Motion

ReferenceLayersOther

Fireworks

Rockets bursting into falling sparks.

Kind
Layer · Other
Script name
fireworks
Cost to draw
Heavy
Reacts to
sound and the pointer
Blend
Light costs no extra pass
The Fireworks layer with its default settings
The Fireworks layer with its default settings.

Fireworks

SettingKindStarts atRange and notes
First colourcolour1colour#7ce695–
Second colourcolour2colour#ffc861–
Third colourcolour3colour#ff7a90–
ColourspalettechoiceThese threeThese three, Every colour
BurstsshapechoiceMixedMixed, Round, Rings, Willow
Bursts a minuteratenumber180 to 120
Sizesizenumber22%5% to 60%
Fallgravitynumber1×0 to 2×
Trailstrailnumber50%0% to 100%
Cracklecracklenumber40%0% to 100%Sparks twinkle as they die
Brightnessbrightnessnumber100%0% to 200%
Show the rockets risingrocketson or offon–
Burst where clickedclickson or offon–
Bursts on the beatsoundnumber0%0% to 100%How often a beat sets one off

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Fireworks:

scene.set("Fireworks", "colour1", "#ff8a5c");scene.animate("Fireworks", "opacity", 0.5, 2);
What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.