{{newin|[[0.8.0]]|080|type=method}}
{{oldin|[[0.9.0]]|090|type=method|text=It has been renamed to [[RevoluteJoint:setMotorEnabled]]}}
Starts or stops the joint motor.

== Function ==
=== Synopsis ===
<source lang="lua">
RevoluteJoint:enableMotor( enable )
</source>
=== Arguments ===
{{param|boolean|enable|True to enable, false to disable.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::RevoluteJoint]]
[[Category:Functions]]
{{#set:Description=Starts or stops the joint motor.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|RevoluteJoint:enableMotor}}