returns the stage associated with the specified state (or the current one if none is specified)
Optional
State ID (see constants)
set
state
returns the stage associated with the specified state (or the current one if none is specified)