Quantcast
Viewing all articles
Browse latest Browse all 17093

Stop action will auto remove it from parent

@newguy wrote:

If I have the following code.

First:
auto rotateAction = RepeatForever::create(RotateBy::create(1.0,360));
rotateAction->setTag(1);
this->runAction(rotateAction);
LaterOn:
this->stopActionByTag(1);

will the stopActionByTag also remove the action from its parent?

Thanks,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>