Below is code for pause which i am using.
Node::pause();
Vector<Node*> childs = this->getChildren();
for (ssize_t i = 0; i < childs.size(); i++) {
Sprite *sp = (Sprite*) childs.at(i);
sp->pause();
}
what i want is by pressing back key pause game should resume BUT onKeyReleased is not getting called, may be due to Node::pause()