Motion
Get Motion

ReferenceLayersElements

Fire

Flames and rising embers.

Kind
Layer · Elements
Script name
fire
Cost to draw
Heavy
Reacts to
sound
Blend
Light costs no extra pass
The Fire layer with its default settings
The Fire layer with its default settings.

Fire

SettingKindStarts atRange and notes
StylestylechoiceAlong the bottomAlong the bottom, One flame
Heartcolourcolour#ffc861–
Edgescolour2colour#ff5a2e–
Heightheightnumber42%5% to 100%
Brightnessbrightnessnumber100%0% to 200%
Speedspeednumber1×0.1 to 3×
Flickerturbulencenumber1×0 to 2×
Embersembersnumber50%0% to 100%
Flame left and rightoriginXnumber50%0% to 100%For a single flame
Flame widthspreadnumber22%5% to 100%
Moves to soundsoundnumber0%0% to 100%Leaps with the bass
Embers drawn bysimchoiceParticle systemParticle system, LightLight suits weaker graphics

From a script

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

scene.set("Fire", "colour", "#ff8a5c");scene.animate("Fire", "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.