Skip to content

Directional Drift

Custom particle base
FXMaster+Particle base

Directional Drift is used when a custom particle should travel across the Scene in a selected direction. It also supports Top Down and Orbit presentations, a persistent background surface, and token interaction.

Create the custom effect through Manage User Particle Effects, then select Directional Drift from Base Effect.

Reference Value
Package FXMaster+
Definition type Custom particle base
Base Effect label Directional Drift
Exposed parameters 35
  • Direction: Sets the main travel direction while Top Down and Orbit are disabled.
  • Top Down: Switches the particle projection to the overhead presentation.
  • Orbit: Makes the images circulate around the effect area instead of crossing the Scene.
  • Spin: Controls how quickly each image rotates while moving.
  • Background: Adds a persistent field of settled images behind the airborne particles.
  • Token Trails: Allows moving tokens to disturb the persistent background.

Leave Top Down and Orbit disabled to move the images across the Scene using Direction, Speed, Lifetime, and Density.

Enable Top Down for an overhead presentation. Direction is handled by the Top Down movement rather than the normal Direction field.

Enable Orbit to circulate the images around the effect area. Orbit Distance controls the radius of the path. Top Down and Orbit are mutually exclusive.

Within an enabled custom Directional Drift effect, Background can be toggled and configured separately from the airborne particles. It is not a standalone effect; disabling the custom effect disables both layers. Background Fill, coverage, pile, and particle-size controls define the settled surface. Enable Token Trails when moving tokens should displace that surface, create trails, lift particles, and allow them to settle again.

The table combines the settings inherited by a custom Directional Drift 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.

35 exposed parameters1 Scene-onlyGenerated custom ID 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
Top Down
topDown
checkboxOff
Orbit
orbit
checkboxOff
Orbit Distance
orbitDistance
range0.50–1 · step 0.01
Scale
scale
range0.240.1–1 · step 0.01Always
Direction
direction
range00–360 · step 5
Speed
speed
range0.290.1–1 · step 0.01Always
Lifetime
lifetime
range0.270.1–1 · step 0.01Always
Density
density
range0.150.05–1 · step 0.05Always
Opacity
alpha
range10–1 · step 0.1Always
Spin
spin
range0.330–1 · step 0.01Always
Background
backgroundEnabled
checkboxOffAlways
Background Fill
backgroundMode
selectaccumulateFull Coverage, Fill Over Time
Time to Full Coverage
backgroundDuration
range18010–3600 · step 10
Background Opacity
backgroundOpacity
range0.90–1 · step 0.01
Ground Coverage
backgroundCoverage
range0.650.05–1 · step 0.05
Fill Variation
backgroundFillVariation
range0.70–1 · step 0.05
Pile Amount
backgroundPileStrength
range0.50–1 · step 0.05
Pile Size (Grid Spaces)
backgroundPileSize
range3.50.5–12 · step 0.5
Ground Particle Size
backgroundParticleSize
range0.310.01–1 · step 0.01
Token Trails
backgroundInteractionEnabled
checkboxOff
Trail Width
backgroundInteractionRadius
range0.90–2 · step 0.05
Trail Strength
backgroundInteractionStrength
range0.650–1 · step 0.05
Trail Swirl
backgroundInteractionSwirl
range0.60–1 · step 0.05
Trail Lift Chance
backgroundInteractionLiftChance
range0.350–1 · step 0.05
Settle Time (Seconds)
backgroundInteractionSettleTime
range30.1–12 · step 0.1
Settle Impact
backgroundInteractionSettleImpact
range10–1 · step 0.05
Darkness Activation
darknessActivationEnabled
checkboxOffAlways
Darkness Activation Range
darknessActivationRange
range-dual{"min":0,"max":1}0–1 · step 0.01

After a custom effect is created, its generated effect ID can be used as a particle type. Replace the placeholder below with the ID used by the custom definition.

const customType = 'your-custom-particle-id';
const created = await FXMASTER.api.effects.play({
particles: [{
id: 'apiMacro_customDirectional_p',
type: customType,
options: {
direction: 0,
speed: 0.35,
density: 0.2,
},
}],
});
await FXMASTER.api.effects.particles.stop(created.particles);

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