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 synopsis simInt simGetObjectProperty(simInt objectHandle)
C parameters
objectHandle: handle of the object
C return value
object property values, -1 if operation was not successful
Lua synopsis number property=sim.getObjectProperty(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function. See also the boolean operators in Lua.

All regular API functions on one page