Special Key Detector

I found out how to detect special keys!

That is surprising! @jens is this intended behavior or just a happy accident?

If it's a happy accident, I'd vote for keeping it. It's nice! :slight_smile:

Cool project, @spaceflyer234!

that is intentional now - I think since about a year or so. We couldn't do it before because of the clunky way keyboard events used to be handled by the DOM. But we're not yet guaranteeing this behavior because, among other things, translatability etc.
But I agree, nice project!


Nice project! But it can't really detect the ESC key because that stops the script. :~) Are there names that can be used to detect Command and Control? (pun not intended)

I tested out Control when I was creating Snape!, it doesn't work.