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

== Function ==
=== Synopsis ===
<source lang="lua">
WheelJoint:enableMotor( on )
</source>
=== Arguments ===
{{param|boolean|on|True turns the motor on and false turns it off.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::WheelJoint]]
[[Category:Functions]]
{{#set:Description=Starts and stops the joint motor.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|WheelJoint:enableMotor}}