How do i Randomly spawn objects only on window screen (even if layout is big)
Develop games in your browser. Powerful, performant & highly capable.
create object
x: random(ViewportLeft(layer),ViewportRight(layer))
y: random(ViewportTop(layer),ViewportBottom(layer))
hi shinkan what i should type in " (layer) "?
layer name or number