Better "when key pressed" block

I think that there should be an upvar in the "when key pressed" block that reports the key that was pressed when the hat block was triggered.

Yes, I've needed this in some projects such as a text input box, and I had to resort to using JS.

Yes, we've talked about doing this, and the same for when I receive any message, instead of a global variable, in case several messages happen nearly at once. It's going to take some effort, I gather, which is why it hasn't happened yet.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.