Sub Menu

# VASSAL Reference Manual Home > Module > Game Piece Palette > Game Piece > Sub-Menu
## Sub-Menu
This trait allows you to cluster menu items associated with other traits into a sub-menu of the game piece's right-click menu. Provide the name of the menu and the name of the menu items that should be moved to the sub-menu. Sub-menus may contain other sub-menus to any nesting level. Menu name: The name of the sub menu that will appear in the right-click menu. Sub-commands The menu text of the traits that will be collected into this sub menu. EXAMPLE: If a game piece has three separate layer traits with corresponding activate commands Entrench, Fortify, and Blockade, then those menu items can be gathered under a single sub-menu named Defense by creating a Sub-Menu trait with menu name "Defense" and sub-commands "Entrench", "Fortify" and "Blockade". Pieces in a Game Piece Palette can be manipulated by anybody so long as no game is in progress. |