So I created a drag and drop animation where the elements dissapear after they are dragged onto the target. I want to include a reset button that sets the animation back to the beginning so the user can play the drag and drop game again. Is there code I can include that resets the animation the same way that happens when you hit the browser refresh button?
↧