ReferenceScript nodesRendering
Is Point Over Layer
Whether a point of the scene is on a layer, as it was last drawn.
ƒIs Point Over Layer
LayerLayerOut
X0.5
Y0.5
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Layerlayer | layer | – | – |
Xx | number | 0.5 | – |
Yy | number | 0.5 | – |
Outputs
| Pin | Type |
|---|---|
Outout | bool |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log((scene.layer("").contains(0.5, 0.5)));In a graph
◆On Scene Start
ƒIs Point Over Layer
LayerLayerOut
X0.5
Y0.5
ƒ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.