diff --git a/key.down.md b/key.down.md index 2281805..a19f769 100644 --- a/key.down.md +++ b/key.down.md @@ -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 ```