Multiple keys pressed simulataneously

Hi all,

I’m making this game which someone requires the user to simultaneously press a random combination of arrow keys (UP, DOWN, LEFT, RIGHT). At some point he will have to let go of certain keys whilst keeping the rest pressed down.

For example…

  1. UP and RIGHT are both held down simulataneously…
  2. Either UP or RIGHT is released.

I’m using Key.addListener to detect key releases but it doesn’t let me know WHICH key (UP or RIGHT) was released.

Anyone has any idea? ;( :hoser: