Shader Menu Click Event
The Shader Menu Click Event fires whenever a player clicks a valid button in a Shader Menu.
Context Variables
| Variable | Description |
|---|---|
menu_id | ID of the menu being interacted with. |
button_id | ID of the button that was clicked. |
click_type | LEFT, RIGHT, or MIDDLE. |
Configuration
targetMenuId — String
Only trigger for this specific menu ID (or * for all).
targetButtonId — String
Only trigger for this specific button ID (or * for all).
event:
type: menu_click
targetMenuId: "main_menu"
targetButtonId: "btn_play"