Language

onKeyReleased


onKeyReleased(KEY k)

Description

onKeyReleased() is a callback function called when the user released a key.

Parameters

k
The KEY pressed.

Examples

Mini boss

  1. function onKeyReleased(k)
  2.     if k == KEY_SPACE then
  3.         SpecialAttack() -- To implement
  4.     end
  5. end