- The correct title of this article is When video motion > () (block). The Scratch Wiki uses this different title because of technical restrictions.
|When video motion > ()|
When video motion > () block is a Video Motion Extension block and a Hat Block. It starts the script below it when the current video motion on the stage is greater than the number entered. This block was split off from the When () > () block in Scratch 3.0, because video motion became an extension.
This block can be used for many things, such as:
- Being motion activated
when video motion > (10)::hat videosensing broadcast (start v)
- Making a sprite move when there is motion
when video motion > (10)::hat videosensing move (10) steps if on edge, bounce
- Main article: List of Block Workarounds
forever wait until <(video (motion v) on (stage v)::videosensing) > (10)> . . . wait until <not <(video (motion v) on (stage v)::videosensing) > (10)>>