InputKey()
Browser availability: desktop-only.
This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.
A slot in the input snapshot: polled on the window thread, copied to the game thread with each batch of ticks, so no locking is needed.