Motion
Get Motion

ReferenceLayersSimulations

Physics

Shapes that fall, stack and bounce.

Kind
Layer · Simulations
Script name
physics
Cost to draw
Heavy
Reacts to
sound and the pointer
The Physics layer with its default settings
The Physics layer with its default settings.

Shapes

SettingKindStarts atRange and notes
ShapesshapeschoiceBothCircles, Boxes, Both, A picture
Picturesourceimage filenoneFor the picture shapes
At mostcountwhole number901 to 300
Sizesizenumber3.5%1% to 15%
Sizes varyvarietynumber50%0% to 100%
Colourscolourspalette["#7ce695ff", "#caecffff", "#ffc861ff", "#ff7a90ff", "#a98bf–

World

SettingKindStarts atRange and notes
Gravitygravitynumber1×-2 to 2×
Bouncebouncenumber35%0% to 100%
Frictionfrictionnumber30%0% to 100%
ArrivespawnchoiceLike rainLike rain, In bursts, On the beat, All at once
A secondratenumber40.2 to 30
Wallswallson or offon–
The pointer throws themthrowon or offon–
Startseedseed1–

From a script

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

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