Hi.
Displaying two sprites in a random position. Sometimes they overlap.
They could control their spacing, for example setup 200 px.
200px value, more sprites would not come closer. Thanks.
Your question wasn't very clear.
If you want the objects to be >200 away from another object you could try a 'while' loop.
Develop games in your browser. Powerful, performant & highly capable.
Thanks. I try 'while' loop.