I want to find a way to listen for animation finish on javascript.
Something like:
player.addEventListener("any-finished", ()=> player.setIdleAnim() );
I can do it with in the eventsheet:
How can I do it using only js?
Develop games in your browser. Powerful, performant & highly capable.
Member since 31 Mar, 2020