## 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 context menu.

Provide a name for the menu and the exact menu text of the menu items that should be moved to the sub-menu.

Sub-menus may contain other sub-menus to any nesting level.

EXAMPLE: If a game piece has three separate layer traits with the 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".

SEE ALSO: Menu Separator

Description:

  A short description of this trait for your own reference.

Menu name:

  The name of the sub menu that will appear in the right-click context menu.

Sub-commands:

  The exact menu text of each trait that will be collected into this sub-menu.