Moving element by random amount of pixels

后端 未结 0 1314
抹茶落季
抹茶落季 2021-02-19 09:06

I made an editor where you can place an element, wherever you want.

When the start button is clicked it needs to move by 2 pixels in a random direction every 100 millisec

相关标签:
回答
  • 消灭零回复
提交回复
热议问题