Type Boolean Object Joint Library physics.* Revision Release 2025.3721 Keywords joint, isMotorEnabled See also object.motorSpeed Physics Joints (guide)
Boolean value which indicates whether a "pivot" or "piston" joint is "pivot" joint is rotational, while motor action for a "piston" joint is linear along the defined axis.
if ( myJoint.isMotorEnabled ) then
myJoint.motorSpeed = 100
end