Difference between revisions of "World:getGravity"

 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
Get the gravity of the world.
 
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 13:
 
* [[parent::World]]
 
* [[parent::World]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the gravity of the world.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|World:getGravity}}

Latest revision as of 17:52, 25 March 2011

Get the gravity of the world.

Function

Synopsis

x, y = World:getGravity( )

Arguments

None.

Returns

number x
The x component of gravity.
number y
The y component of gravity.

See Also


Other Languages