Back

SetOnKeyDown

Hello World

Define a callback function which is called when the user started pressing a key.

gfx.SetOnKeyDown( callback )
function( key )