{{oldin|[[0.8.0]]|080|type=function|text=This function is not supported in that version}}
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed again}}
Enables/disables the joint motor.

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

== See Also ==
* [[parent::PrismaticJoint]]
[[Category:Functions]]
{{#set:Description=Enables/disables the joint motor.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|PrismaticJoint:setMotorEnabled}}