Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Keyboard and mouse state.
input.key_down(vk)
bool
input.key_pressed(vk)
input.key_name(vk)
string
input.cursor()
x, y
input.menu_open()
VK_*
0x01
0x02
0x04
0x1B
0x20
0x41
0x5A
events.on('paint', function() if input.key_pressed(0x48) then -- H print('H pressed') end end)