Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Evento Client

Input.KeyPress

A keyboard key has been pressed

Non ancora tradotto

Sintassi

Lua
Input.Subscribe("KeyPress", function(key_name, delta)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
key_name string The key pressed
delta facoltativo float? The amount depressed in case of this is an Axis input

Valore restituito

  • boolean Return false to block it