Regular API function

simGetObjectProperty / sim.getObjectProperty

Description Retrieves the main properties of a scene object. See also sim.setObjectProperty, sim.getObjectSpecialProperty and sim.getModelProperty.
C/C++
synopsis
simInt simGetObjectProperty(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the object
C/C++
return value
object property values, -1 if operation was not successful
Lua
synopsis
int property=sim.getObjectProperty(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart.
Python
synopsis
int property=sim.getObjectProperty(int objectHandle)