auto scene = Scene::create(); auto sprite = Sprite::create("sprite.png"); sprite->setTag(1); scene->addChild(sprite); auto childSprite = scene->getChildByTag(1); if (childSprite != nullptr) { // Found child node with tag value 1, do something with it }In this example, a sprite is added as a child node to a scene and is given a tag value of 1 using `setTag()`. Later, `getChildByTag()` is used to retrieve the child sprite node with tag value 1 and perform some operations on it. Package Library: cocos2d-x.