Skip to content

Fireflies

Animals reference
FXMaster+Particle effectAPI type: fireflies
Preview shows Fireflies enabled

Glowing fireflies with ambient movement, light-like bloom, and configurable density.

Animal effects add moving subjects to a Scene without creating tokens. Scale and Density control the population, while the available movement controls determine how they travel around the map. This effect also includes Token Avoidance controls for steering around eligible tokens.

Reference Value
Package FXMaster+
Effect kind Particle effect
Category Animals
Runtime type fireflies
Exposed parameters 24
  • Orbit: Makes fireflies circulate around the effect area instead of only crossing the canvas in a straight or drifting path.
  • Directional Movement: Makes fireflies travel in the configured Direction instead of relying only on the effect’s default random movement.
  • Token Avoidance: Makes fireflies steer away from eligible tokens instead of moving directly through them.
  • Avoidance Radius: Sets how far from an eligible token fireflies begin changing course.
  • Density: Changes how many fireflies are visible or spawned at once. It does not change their size.
  • Lower Density with a moderate Lifetime produces distinct points of light instead of visual noise.
  • Token Avoidance can make fireflies move away from approaching creatures, while Orbit creates a localized swarm.

No bundled preset currently uses this effect directly. Add it through Particle Effects or the Direct Effect API.

The table combines the settings available for this effect in Scene and Region contexts. Scene-only and Region-only badges identify controls limited to one context. Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Each card also includes the default, range or choices, context, availability, API key, and control type.

24 exposed parameters1 Scene-onlyfireflies API type

Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Context badges identify Scene-only and Region-only controls; unbadged parameters are available in both. Hover or focus an availability condition to highlight the parameter that controls it.

ParameterControlDefaultRange or choicesAvailability
Below Tokens
belowTokens
checkboxOffAlways
Below Tiles
belowTiles
checkboxOffAlways
Below Foreground
belowForeground
checkboxOffAlways
Levels
levelsScene only
scene-levelsAll LevelsAlways
Tint
tint
color#FFFFFF (disabled)Always
Sound FX
soundFxEnabled
checkboxOffAlways
Sound FX Sounds
soundFxManualSoundIds
multi-selectRule default
Orbit
orbit
checkboxOffAlways
Orbit Distance
orbitDistance
range0.50–1 · step 0.01
Directional Movement
directionalMovement
checkboxOff
Direction
direction
range0–360 · step 5
Directional Spread
spread
range00–180 · step 1
Scale
scale
range0.270.1–1 · step 0.01Always
Speed
speed
range0.270.1–1 · step 0.01Always
Lifetime
lifetime
range0.270.1–1 · step 0.01Always
Density
density
range0.3110.001–1 · step 0.001Always
Opacity
alpha
range10–1 · step 0.1Always
Token Avoidance
tokenAvoidance
checkboxOffAlways
Token Dispositions
tokenAvoidanceDispositions
multi-selectFriendly, Neutral, Hostile, SecretFriendly, Neutral, Hostile, Secret
Avoid Stationary Tokens
tokenAvoidanceAtRest
checkboxOff
Avoidance Radius
tokenAvoidanceRadius
range10–3 · step 0.05
Avoidance Strength
tokenAvoidanceStrength
range0.650–1 · step 0.05
Darkness Activation
darknessActivationEnabled
checkboxOffAlways
Darkness Activation Range
darknessActivationRange
range-dual{"min":0,"max":1}0–1 · step 0.01

The Direct Effect API creates a separate row shown through Manage API Effects. Add a stable apiMacro_…_p or apiMacro_…_f ID when later macro calls need to update or stop the same row.

const created = await FXMASTER.api.effects.play({
particles: [{
"id": "apiMacro_wikifireflies_p",
"type": "fireflies",
"options": {
"belowTokens": false,
"tint": {
"value": "#FFFFFF",
"apply": false
},
"orbit": false,
"directionalMovement": false,
"scale": 0.27
}
}],
});
await FXMASTER.api.effects.particles.stop(created.particles);

For complete API behavior, scene targeting, stack ordering, and toggle groups, see the Direct Effect API guide.