Motion
Get Motion

ReferenceLayersFinish

Glass

A frosted or clear glass panel over the layers below.

Kind
Layer · Finish
Script name
glass
Cost to draw
Heavy
The Glass layer with its default settings
The Glass layer with its default settings.

Glass

SettingKindStarts atRange and notes
ShapeshapechoiceRectangleRectangle, Circle, Pill
Widthwidthnumber42%5% to 120%
Heightheightnumber32%5% to 120%
Roundingradiusnumber5%0% to 50%
Frostfrostnumber60%0% to 100%
Bendingrefractionnumber35%0% to 100%
Tintcolourcolour and alpha#caecff1f–
Edge lightedgenumber50%0% to 100%
Shadowshadownumber35%0% to 100%

From a script

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

scene.set("Glass", "width", 1.2);scene.animate("Glass", "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.