World:getGravity
Get the gravity of the world.
Function
Synopsis
1 | x, y = World:getGravity( ) |
Arguments
None.
Returns
number x
- The x component of gravity.
number y
- The y component of gravity.
Get the gravity of the world.
1 | x, y = World:getGravity( ) |
None.
number x
number y
Designed by : w10schools
service@w10schools.com
Please login to continue.