i need to make an animation frame by frame, basically after pressing the mouse the animation starts by changing background image like some kind of stop motion by using this code:
document.addEventListener('click', function() {
if(counter<1){
audioElement.play();
var cancello=document.getElementById("cancello1");
//var cancello2=document.getElementById("cancello2");
TweenMax.to(cancello, 3, {rotationY:125, transformOrigin:"left top",