This behavior will get the current gravity acting on the scene or on a specific object. Once this behavior is triggered you can then output the gravity to use with another behavior .
This behavior will Trigger an event immediately.
When the world option is selected, the gravity of the scene will be returned.
This is for the global gravity proeprty that is available in the the projects Global Properties.
Selecting the Object option from the drop down list will allow you to get the gravity for a specific object in your scene.
By default this is the current object selected. You can change this to any other object in your scene.
This is the current gravitational force acting on an objects X axis.
This is the current gravitational force acting on an objects Y axis.
This outputs the Object ID.
If you need to know the gravity of your object so you can then use it in another behavior for calculations.