ReferenceScript nodesRendering
Layer At Point
The top layer drawn at a point of the scene.
ƒLayer At Point
X0.5Layer
Y0.5Found
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Xx | number | 0.5 | – |
Yy | number | 0.5 | – |
Outputs
| Pin | Type |
|---|---|
Layerlayer | layer |
Foundfound | bool |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log((((scene.layerAt(0.5, 0.5) || { id: "" }).id)));In a graph
◆On Scene Start
ƒLayer At Point
X0.5Layer
Y0.5Found
ƒPrint
In Text
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.