| Parameter | Description |
|---|---|
| index | The index of the variable to retrieve. |
IVariable The IVariable at the specified index.
Retrieves a variable declared in the state machine by index.
The index is zero-based and reflects the order in which the variables were created. The index must be within the valid range of the variable list (see: StateMachine.VariableCount).