Normalized Spawn Point. 0,0 is the canvas' top-left corner, 1,1 its bottom-right. Ranges spawn along a line or inside an area.
0,0
1,1
origin: { x: 0.5, y: 0.6 } // slightly below centerorigin: { x: [0, 1], y: 0 } // anywhere along the top edge (snow) Copy
origin: { x: 0.5, y: 0.6 } // slightly below centerorigin: { x: [0, 1], y: 0 } // anywhere along the top edge (snow)
Optional
Readonly
Horizontal Position.
0.5
Vertical Position.
0.6
Normalized Spawn Point.
0,0is the canvas' top-left corner,1,1its bottom-right. Ranges spawn along a line or inside an area.Example