Skip to main content
The Shader Menu Click Event fires whenever a player clicks a valid button in a Shader Menu.

Context Variables

VariableDescription
menu_idID of the menu being interacted with.
button_idID of the button that was clicked.
click_typeLEFT, RIGHT, or MIDDLE.

Configuration

targetMenuId
String
default:"*"
Only trigger for this specific menu ID (or * for all).
targetButtonId
String
default:"*"
Only trigger for this specific button ID (or * for all).
event:
  type: menu_click
  targetMenuId: "main_menu"
  targetButtonId: "btn_play"