Skip to content

ButtonInteractionState

Overview

Enumeration of the possible button interaction states

@author John Blanco

Class ButtonInteractionState

import { ButtonInteractionState } from 'scenerystack/sun';

Static Properties

IDLE : ButtonInteractionState

(readonly)

button is just sitting there, doing nothing

OVER : ButtonInteractionState

(readonly)

a pointer is over the button, but it is not being pressed

PRESSED : ButtonInteractionState

(readonly)

the button is being pressed by the user

enumeration : Enumeration

(readonly)

Source Code

See the source for ButtonInteractionState.ts in the sun repository.