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
)

Parameters

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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.