This article may need to be wikified in order to meet the Game Maker's quality standards. Grammar and spelling should be improved and the article should contain relevant information before this is removed. This also includes upgrading the Set the gravity page. (Adding new information and text) Please edit this page to improve it.
To set the gravity of an object, you can use the "set gravity" action from the "move" tab, or in a create event you can write :
gravity = ?;
? = number you wish to set it to.
Gravity is quite sensitive so its best to use lower numbers.