The Game property returns a reference to the Microsoft.Xna.Framework.Game object. This will match the Game-inheriting class that is the root of all FlatRedBall games, usually called "Game1". For more information, see the Game page.

Code Example

// Sets the cursor to be visible on PC games:
FlatRedBallServices.Game.IsMouseVisible = true;

Last updated