Get Screen Size
How big the wallpaper is, in pixels.
ƒGet Screen Size
Size X
Size Y
Inputs
None.
Outputs
| Pin | Type |
|---|---|
Size Xwidth | number |
Size Yheight | number |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log(scene.width);In a graph
◆On Scene Start
ƒGet Screen Size
Size X
Size Y
ƒ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.