Rotate Sprite endless

Hi,
I want rotate sprite endless. How to do it?

Easy:

node->runAction(RepeatForever::create(RotateBy::create(1.0f, 360)));

Thank you very much!

Also, this is covered in our docs :slight_smile: I’d suggest reading the first few chapters to give you a jump start on the concepts of Cocos2d-x. https://docs.cocos2d-x.org/cocos2d-x/v3/en/

Guess you know, the link is not working. :slight_smile:

The link has been updated.