trigger

fun trigger(event: InventoryClickEvent)

Triggers the button's action when it is clicked, considering any debounce, delay, and throttle settings.

Parameters

event

The event triggered by the button click.