# Set Custom Menu Dialog Item Shortcut

Grammar — Set the shortcut/hotkey of menuItem to__shortcut__ for players
FlagsNative | Action

Sets the shortcut keyboard key of a specified Menu Item in the Custom Menu.

# Arguments

  • playergroup — Players
  • int [ preset::GameMenuDialogItem ] — Menu Item
  • text — Shortcut

Returns — void

native void UISetCustomMenuItemShortcut(
	playergroup inPlayers,
	int inMenuItemType,
	text inText,
);

Category: UI / Game Menu

# Examples

— None found —