-- **************************************************
-- General information about this script
-- **************************************************
ScriptName = "Test_Script"
Test_Script = {}
-- **************************************************
-- Events
-- **************************************************
function Test_Script:OnMouseDown(moho, mouseEvent)
end
function Test_Script:OnKeyDown(moho, keyEvent)
print(tostring(keyEvent.keyCode))
if keyEvent.keyCode == LM.GUI.KEY_ESCAPE then
print('Escape key pressed.')
end
end