Regular API function


Description Retrieves current simulation state. See also the simulation state diagram.
C synopsis simInt simGetSimulationState()
C parameters
C return value
The current state of the simulation (sim_simulation_stopped, sim_simulation_paused, etc. (see the simulation state values)), or -1 in case of an error
Lua synopsis number simulationState=simGetSimulationState()
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page