SpriteLibrary
SpriteLibrary
SpriteLibrary
SpriteController Class
SpriteController Methods
IsKeyPressed Method
IsKeyPressed Method
IsKeyPressed Method (Keys)

# SpriteController IsKeyPressed Method

Overload List

| Name | Description
--- | --- | ---
| IsKeyPressed | Check to see if any keys are pressed. There is a small glitch with the key-pressed system. If the form loses focus, and someone releases a key, the key-up is never triggered. It is a good thing to ResetKeypressState() occasionally if you think your form may have lost focus.
| IsKeyPressed(Keys) | Check to see if the given key is pressed. There is a small glitch with the key-pressed system. If the form loses focus, and someone releases a key, the key-up is never triggered. It is a good thing to ResetKeypressState() occasionally if you think your form may have lost focus.

Top
See Also

#### Reference

SpriteController Class
SpriteLibrary Namespace