Click or drag to resize
GeneralRulesIsKeyPressed Method
Determines if a specified key is being pressed.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual bool IsKeyPressed(
	Key key
)

Parameters

key
Type: (Default Namespace)Key
Which key to check

Return Value

Type: Boolean
True if the specified key is currently pressed, false otherwise
See Also