PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

Gravity

Workspace

float

Determines the acceleration due to gravity applied to falling BasePart|BaseParts. This value is measured in studs per second squared and by default is set to 196.2 studs/second2. By changing this value, developers can simulate the effects of lower or higher gravity in game.


Code Samples


Low Gravity Button

This script creates a touch pad in the workspace that, when touched, will reduce the game’s gravity. Activating the pad again will switch back to normal gravity.