when () > ()
When () is greater than ()
- The correct title of this article is when () > (). PenguinMod Wiki uses When () is greater than () instead because of technical restrictions.
The when () > () block is a hat block in the Events category that detects when either the loudness or the timer is greater than the entered value. It originates from Scratch. Loudness is selected by default, and the default value is 10.
Workaround
This block can be worked around by using the when <>::events
block to detect when the value is greater than the wanted value:
when <(timer/loudness::sensing) > (num::grey)>::events code::grey
It can also be replicated by using a forever loop, but this stops when the stop sign is clicked, meaning it cannot be used to workaround the when @stopSign clicked::events hat
block.
when gf clicked forever if <(timer/loudness::sensing) > (num::grey)> then code::grey end end