> I noticed I should find a way to reset the sequence from a certain point.
> I mean, if i touch the screen, soccer player will go frame 1 (kick) and if it is colliding, he must kick the ball to the other side. Problem is, that ball will always go forward until it touches A.x A.y. Is there a way to interrupt it earlier? like if the ball has hit a wall?
just add overlapping with wall or on collision with wall change a variable and use that as a condition. im not sure what you have as a game, but if its simple enough u can post it here if its more complicated and u want to protect it send a capx to my pm. il look at it! and explain the changes i do.
Nothing complicated, here it is https://www.dropbox.com/s/7us4eom03dtglyx/kickball.capx?dl=0
I just want A to kick the ball back and to be able to change the speed with a global variable (that I will random).
Notice that everytime A or B kicks the ball it changes the arc.