Regular API function

simGetBoolParameter
remote API equivalent: simxGetBooleanParameter
RosPlugin API equivalent: simRosGetBooleanParameter

Description Retrieves a boolean value. See the Boolean parameter identifiers. See also simSetBoolParameter, simGetInt32Parameter, simGetFloatParameter, simGetArrayParameter and simGetStringParameter.
C synopsis simInt simGetBoolParameter(simInt parameter)
C parameters
C return value
value of the parameter (0 or 1) or -1 in case of an error
Lua synopsis boolean boolState=simGetBoolParameter(number parameter)
Lua parameters
Same as C-function
Lua return values
boolState: value of the Boolean parameter, or nil in case of an error

All regular API functions on one page