How do you pause all the actions, but not the scheduled update

this->pauseSchedulerAndActions(); //Pauses all actions but also pauses the scheduled update

I need my update method to keep rolling so that it can test for when to resume the actions.

Is there a way to only pause the actions in a certain object.

1 Like

If you look into this function, you would find the answer very soon.

void CCNode::pauseSchedulerAndActions()
{
    CCScheduler::sharedScheduler()->pauseTarget(this);
    CCActionManager::sharedManager()->pauseTarget(this);
}

So have you found the solution now?

Thank-you Walzer Wang.

That was exactly the solution.

Hi,
I have same problem here, then how to resume them after that? (without create new same schedule)
Thanks!