# VASSAL Reference Manual

Home > Module > Deck > Deck Global Key Command

## Deck Global Key Command

This trait adds an action that applies a key command to to pieces contained within the Deck, similar to the Global Key Command component of a Map Window.
Menu Command: Name of the right-click menu item
Keyboard command: Keyboard shortcut of the menu item that initiates the command
Global Command: The key command that will be applied to the pieces
Matching Properties: The key command will only be applied to pieces with the specified Properties. If you do not enter a property expression, then all counters in the Deck will be selected.
Affects: The Global command can apply to all piece selected, or to a set number only. Use a setting of 1 to select the top piece.
Report Format: A Message Format that is echoed to the chat text window whenever the Global Key Command is activated.