In this example, a menu is created with three items, and then the alignItemsVertically method is called to align the items vertically instead of horizontally. Example 2:c++ auto menu = CCMenu::create(item1, item2, item3, nullptr); menu->setAlignment(ccc3(150, 150, 150)); ``` In this example, a menu is created with three items, and then the alignment is set using the setAlignment method. The package library for CCMenu and its properties is the Cocos2d-x framework.