GuiButtonState

Overview

GuiButtonState is an Enum that defines the current visual state of a GUI button. It distinguishes between the button's default state, hover (mouse over), and pressed state to provide various visual feedback.

Items

Name
Value
Description

Default

0

The default state of the button. The normal state when the mouse is not hovering and the button is not pressed.

Hover

1

The hover state when the mouse cursor is over the button.

Press

2

The state when the button is pressed.

Max

3

An internal value representing the maximum number of states.

Last updated