How to pause and resume this action?

	auto pFollow=Follow::create(node2,Rect::ZERO);
	this->runAction(pFollow);

Sometimes I want to pause the action, and sometimes I want to resume the action. How to do it?

pause(); and resume();?

https://docs.cocos2d-x.org/api-ref/cplusplus/v4x/d3/d82/classcocos2d_1_1_node.html#abe40a458c9615353edf5873a3c4ac8e6

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.