Language

Player.setGravity


Player.setGravity(int gravity)

Description

Set the player's gravity.
Default gravity is 29

Parameters

gravity
The value of the gravity. Between -87 and 87.