{{newin|[[0.8.0]]|080|type=function}}
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[PrismaticJoint:setLimitsEnabled]]}}
Enables or disables the limits of the joint.

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

== See Also ==
* [[parent::PrismaticJoint]]
[[Category:Functions]]
{{#set:Description=Enables or disables the limits of the joint.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|PrismaticJoint:enableLimit}}