Back
SetOnKeyDown
JS
Py
Hello World
Define a callback function which is called when the user started pressing a key.
gfx.SetOnKeyDown(
callback
)
function
(
key
)