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

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

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