when video motion > ()

From PenguinMod Wiki
Revision as of 03:33, 3 July 2024 by MediansSC (talk | contribs) (Created page with "{{Infobox Block |block_name = when video motion > () |block_type = Hat Block |category = Video Sensing |title = when video motion > () }} {{Incorrect Title|when video motion > ()}} 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 t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When video motion is greater than ()
Jump to navigation Jump to search
when video motion > ()
when video motion > ()
Caption
Block Type Hat Block
Category / Extension Video Sensing
Status Who tf uses status
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.

Workaround

This block can be worked around by detecting when the video motion 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.