when video motion > ()
When video motion is greater than ()
- The correct title of this article is when video motion > (). PenguinMod Wiki uses When video motion is greater than () instead because of technical restrictions.
The when video motion > () block is a hat block in the Video Sensing extension that runs when the video motion on the stage is greater than the entered number. It originates from Scratch, and was created in 3.0 due to the camera blocks being moved to the extension, removing the video motion option from the when () > () block. The default value for this block is 10.
Workaround
This block can be worked around by detecting when the video motion on the stage is greater than the entered number:
when gf clicked forever wait until <(video (motion v) on (stage v)) > (number::grey)> ... wait until <not <(video (motion v) on (stage v)) > (number::grey)>>
The number reporter is a placeholder for the number inputted.
The when () block can also be used:
when <(video (motion v) on (stage v)) > (number::grey)>::events hat ...
See also
v • e Video Sensing Blocks Navigation | |
---|---|
Scratch Blocks | when video motion > () · video () on () · turn video () · set video transparency to () |