ID:2276056
 
(See the best response by Nadrew.)
How would I go using animate to animate say a ball going several pixels left and then go several pixels back in a loop? Thanks in Advance

Best response
You'd need two animate() calls.

animate(src,pixel_x=64,time=10,loop=-1)
animate(pixel_x=-64,time=10,loop=-1)


Or something along those lines.