This topic has not yet been rated - Rate this topic

Game.IsActive Property

Indicates whether the game is currently the active application.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

public bool IsActive { get; }

Property Value

true if the game is active; false otherwise.

On Windows, a game is active if it is not minimized and has the current input focus. On Xbox 360, the game is active if the user is not interacting with the Dashboard.

Xbox 360, Windows XP SP2, Windows Vista

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.