|index||The index of the virtual key to delete.|
If your game has different rooms or instances to control menus
and game-play and other things, then it is probable that you will
need to change the position and key maps of your virtual keys at
some point. For that you can use this function to delete the old
ones before creating the new ones (if necessary). Note, however,
that the virtual keys will be automatically removed from the room
at its end, so this function is only necessary when you wish to
manually remove the keys before the room itself has finished.
The above code deletes the virtual key indexed in the global variable "global.Left".