Search.../

currentState

Gets the multi-state box's current state.

Type:

StateRead Only

Was this helpful?

Get the current state and its ID

Copy Code
1let state = $w("#myStatebox").currentState;
2
3let stateId = state.id; // "state1"