Add mouse.down
15
mouse.down.md
Normal file
15
mouse.down.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# mouse.down(btn)
|
||||
Retorna si el botó especificat del ratolí està actualment premut.
|
||||
|
||||
### Paràmetres
|
||||
* btn — Quín botó (mouse.LEFT, mouse.MIDDLE o mouse.RIGHT).
|
||||
|
||||
### Torna
|
||||
Un booleà indicant si està premut.
|
||||
|
||||
### Exemple
|
||||
```
|
||||
if mouse.down(mouse.LEFT) then
|
||||
print("Botó esquerre premut")
|
||||
end
|
||||
```
|
||||
Reference in New Issue
Block a user