Motion
Get Motion

ReferenceLayersSimulations

Flock

Birds or fish moving as a flock.

Kind
Layer · Simulations
Script name
flock
Cost to draw
Heavy
Reacts to
the pointer
The Flock layer with its default settings
The Flock layer with its default settings.

Flock

SettingKindStarts atRange and notes
How manycountwhole number26010 to 2000
LooklookchoiceBirdsBirds, Fish, Dots
Sizesizenumber1×0.3 to 3×
Speedspeednumber1×0.1 to 3×
Keep apartseparationnumber1×0 to 2×
Turn togetheralignmentnumber1×0 to 2×
Stay togethercohesionnumber1×0 to 2×
Avoid the pointeravoidnumber60%-100% to 100%Below zero they follow it
Colourcolourcolour and alpha#f4f6f8e6–
Far onescolour2colour and alpha#caecff66–
Startseedseed1–

From a script

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

scene.set("Flock", "size", 3);scene.animate("Flock", "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.