Difference between revisions of "World:getGravity"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Get the gravity of the world.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::World]]
 
* [[parent::World]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the gravity of the world.}}

Revision as of 16:17, 14 February 2010

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