Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.4

Description

Description:Returns the current state index of a statebox control.

Syntax

Syntax:sbGetCurrentState control
Parameters:
  • control: Control - Statebox control.
Return Value:Number - Index of currently selected state (-1, if control does not exist).

Examples

Examples:
_idx = sbGetCurrentState _sb

Additional Information

See also: sbSetCurrentState, sbGetStates
Multiplayer:
Problems:

Notes