does anyone know how to do a yoyo animation where i can control the speed too with a long press
how can i make this a yoyo animation
var duckTween:VarTween = new VarTween();
duckTween.tween(_duck,"x", FP.screen.width - _duck.width, 2, Ease.sineIn);
addTween(duckTween, true);