Add key.any
16
key.any.md
Normal file
16
key.any.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# key.any()
|
||||||
|
Retorna si qualsevol tecla acaba de ser premuda.
|
||||||
|
|
||||||
|
### Torna
|
||||||
|
Un booleà indicant si hi ha hagut algun “press”.
|
||||||
|
|
||||||
|
### Exemple
|
||||||
|
```
|
||||||
|
if key.any() then
|
||||||
|
print("Alguna tecla premuda")
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
### Vore també
|
||||||
|
* [key.press](key.press)
|
||||||
|
* [key.down](key.down)
|
||||||
Reference in New Issue
Block a user