changing the world setting in the game engine

hey,
what if we had to change the world settings in the game engine using logic bricks. is that possible?. if it is then how is it possible. i want to adjust the gravity and the color of the world during the game.

sorry if i am asking too many ques. on this forum.

thanks

Please check the Blender API -> GameLogic (bge.logic)