Motion
Get Motion

ReferenceLayersOther

Web project

Your own page in HTML, CSS and JavaScript, made here.

Kind
Layer · Other
Script name
webproject
Cost to draw
Very heavy
A new Web project layer, showing the page of the Blank template it starts from
A new Web project layer, showing the page of the Blank template it starts from.

Web project

SettingKindStarts atRange and notes
Projectprojectweb projectpage–
Zoomzoomnumber100%25% to 300%
See-through backgroundtransparenton or offonLayers show where the page has no background
Clicks reach the pageinteractiveon or offon–
Frame ratefpschoice3015, 30, 60, Display
Resolutionresolutionnumber100%25% to 100%Lower is lighter
Hears the soundhearsSoundon or offoffOn by itself when the code reads the sound
Networknetworkon or offoffThe page may load from the web
Mutemuteon or offon–

From a script

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

scene.set("Web project", "zoom", 3);scene.animate("Web project", "opacity", 0.5, 2);

Used in

The example scenes with a Web project layer in them. Each picture is the whole scene, not the layer alone: open one to see what the layer does in it.

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.