0
How to make an image appears and disappears in random positions in canvas?
JavaScript
2 Answers
+ 3
[image].x = Math.random() * [canvas].width - [image].width;
[image].x = Math.random() * [canvas].width - [image].width;
is this what you mean?
0
I'll try it and tell you