+ 4
Why this ball stops running?
As in question. please help. https://code.sololearn.com/WVEW5l3CdZJo/?ref=app
2 Answers
+ 1
Check your JS your actions donât call a restart on subsequent clicks maybe consider a start button, stop button and a random function that bounces you off the edges and sends you in a random direction
0
The question is unclear are you asking why it stops moving when you press the button again?