User Tools

Site Tools


en:keypressed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:keypressed [2016/05/12 20:11]
admin created
en:keypressed [2020/02/28 10:46]
Line 1: Line 1:
-===== KeyPressed (Function) ====== 
  
-==== Format ==== 
- 
-**keypressed** ( //expr// ) 
- 
-return //boolean_value// or //integer_value// 
- 
-==== Description ==== 
- 
-The KeyPressed function returns a true or false value if a key is currently pressed, or returns the number of keys that are currently being pressed.  Unlike the [[key|key]] function that clears the keyboard buffer, the KeyPressed function does not.  This allows for the creation of much more responsive games and other uses of the keyboard. 
- 
- 
- 
-==== See Also ==== 
-{{page>en:start#Keyboard&noheader}} 
- 
-==== History ====  
-|1.99.99.26|New To Version|  
en/keypressed.txt ยท Last modified: 2020/02/28 10:46 (external edit)