You can use a action button in your game play and set the action properties according to your need e.g gravity in your case.
I am assuming he his referring to this: Add your button as action, select Action Type as Gameplay Scroll down and set Gravity But not sure if that solves your request because I am assuming that this would only take effect if the xter hits the button and not necessarily clicking on it. I maybe wrong but try