Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

KeyboardState.IsKeyUp Method

Returns whether a specified key is currently not pressed.

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

public bool IsKeyUp (
         Keys key


Type: Keys
Enumerated value that specifies the key to query.

Return Value

true if the key specified by key is not pressed; false otherwise.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

© 2014 Microsoft. All rights reserved.