Add key.down

2026-03-16 11:46:51 +01:00
parent c3d6fb9d9b
commit 3942ebdccb

15
key.down.md Normal file

@@ -0,0 +1,15 @@
# key.down(key)
Retorna si la tecla de teclat especificada està actualment premuda.
### Paràmetres
* key — Codi numèric de la tecla.
### Torna
Un booleà indicant si la tecla està premuda.
### Exemple
```
if key.down(32) then
print("Espai premut")
end
```