Click-to-wake is also accepted as a valid click in sketch

When the tiles go to sleep, and you click one of them to wake it up, it seems that the click is also passed on to the sketch and takes action. This is a bit annoying if that click does something in the game, but all you wanted to do was wake up the tile.

Would it make more sense for the wake action to swallow the click and not pass it on to the running sketch?

As annoying as this is, it is by design.

If we swallowed that waking press, then there would be no way to differentiate between waking because this blink’s button was pressed and waking because another blink’s button was pressed.

You can ignore waking button presses with code like…

if (buttonPressed() && !hasWoken()) ...

1 Like

Ah good to know, thanks!