Update key.down

2026-03-16 11:47:35 +01:00
parent 3942ebdccb
commit 0aaf0b0b26

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