auto sp=Sprite::create("hero.png"); sp->setPosition(visibleSize.width/2,visibleSize.height/2); addChild(sp); auto pa=Parabola::create(1,sp->getPosition(),5,60,10); auto sq=Sequence::create( pa, CallFunc::create(CC_CALLBACK_0(Sprite::removeFromParent, sp)), NULL ); sp->runAction(sq);