Difference between revisions of "RopeJoint:getMaxLength"

(Created page with "{{newin|0.8.0|080|type=function}} Gets the maximum length of a RopeJoint. == Function == === Synopsis === <source lang="lua"> maxLength = RopeJoint:getLength( ) </source> ==...")
 
m
 
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
maxLength = RopeJoint:getLength( )
+
maxLength = RopeJoint:getMaxLength( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::RopeJoint]]
 
* [[parent::RopeJoint]]
 +
* [[RopeJoint:setMaxLength]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the maximum length of a RopeJoint.}}
 
{{#set:Description=Gets the maximum length of a RopeJoint.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|RopeJoint:getMaxLength}}
 
{{i18n|RopeJoint:getMaxLength}}

Latest revision as of 00:33, 7 January 2018

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Gets the maximum length of a RopeJoint.

Function

Synopsis

maxLength = RopeJoint:getMaxLength( )

Arguments

None.

Returns

number maxLength
The maximum length of the RopeJoint.

See Also

Other Languages