nanos world API Reference Unofficial documentation
Static function Client Fast

Input.IsKeyDown

Returns if a key is being pressed

Syntax

Lua
Input.IsKeyDown(key_name)

Parameters

Name Type Default Description
key_name string

Returns

  • boolean if the key is pressed