(key pressed) block

[scratchblocks]
(key pressed :: sensing)
[/scratchblocks]
This block would report false if no key on the keyboard is being pressed. Or a list of keys being pressed if one is.

it's not required. Always this can be make by easy script.

Nice

Small point - Snap! convention is for reporters like this to usually report nothing instead of false.

It doesn't practically matter in 99.999% of cases but it's nice to stick with conventions

item (1) of (keep items...)) can be replaced with find first.

Okay.

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