I'm working on a step by step game and i would like to know how can i know when an "animation" is finish.
In my case, I apply a force to some balls, and i would like to detect when all balls have finish moving.
(= when they are no more "animation" in canvas).
Then i would like to make another event on this event "no more activity on canvas.
Sorry for my poor english.
And thanks you in advance.
Kind regards !