my function is
function attack()
if turretAnimate ~= nil then
turret:runAction(turretAnimate)
end
end
Before sprite “turret” finish playing animate “turretAnimate”, I call the function “attack” again,that I wanna stop the last playing and replay the “turretAnimate” from the first frame again, what should i do? ty