Enum ButtonAction
Definition
Namespace: StardewUI.Input
Assembly: StardewUI.dll
The actions that a given button can trigger in a UI context. For details see ButtonResolver.
Inheritance
Object ⇦ ValueType ⇦ Enum ⇦ ButtonAction
Fields
Name | Value | Description |
---|---|---|
None | 0 | The button has no standard UI behavior. |
Primary | 1 | Used for primary interaction, or "left click". |
Secondary | 2 | Used for secondary interaction, or "right click". |
Cancel | 3 | Cancels out of the current menu, overlay, etc. |