跳到主要内容

Shader Menu Click Event

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

targetMenuIdString

Only trigger for this specific menu ID (or * for all).

targetButtonIdString

Only trigger for this specific button ID (or * for all).

event:
type: menu_click
targetMenuId: "main_menu"
targetButtonId: "btn_play"