Send to Page
Sends something to a web project's page, which hears it with motion.on("message") (nothing, with no layer picked).
ƒSend to PageTarget is Layer
Web ProjectLayer
Message
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Web Projectlayer | layer | – | – |
Messagedata | any | – | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Start{ const l = ""; if (l !== "") scene.sendToPage(l, "");}In a graph
◆On Scene Start
ƒSend to PageTarget is Layer
Web ProjectLayer
Message
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.