Add pad.down

2026-03-16 11:52:07 +01:00
parent f93b672d3e
commit b89ce0fa0e

15
pad.down.md Normal file

@@ -0,0 +1,15 @@
# pad.down(btn)
Retorna si el botó del gamepad especificat està actualment premut.
### Paràmetres
* btn — botó a comprobar.
### Torna
Un booleà indicant si està premut.
### Exemple
```
if pad.down(pad.A) then
print("Botó A premut")
end
```