Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » What is "(video [direction v] on this sprite?)"
- Scratch12300
-
500+ posts
What is "(video [direction v] on this sprite?)"
What does this block do?
- radu4000
-
53 posts
What is "(video [direction v] on this sprite?)"
I'm not sure, but I think it means the direction the sprite is being pushed by the image recorded by the webcam. For example, if you made a circle as a sprite, and put this script:
when green flag clicked
forever
if < (video (motion v) on this sprite > 10 >
point in direction (video (direction v) on this sprite)
move 2 steps
If you would touch that sprite from the left and push it, the sprite would move 2 steps in the direction it is being pushed (right).
when green flag clicked
forever
if < (video (motion v) on this sprite > 10 >
point in direction (video (direction v) on this sprite)
move 2 steps
If you would touch that sprite from the left and push it, the sprite would move 2 steps in the direction it is being pushed (right).
- Discussion Forums
- » Questions about Scratch
-
» What is "(video [direction v] on this sprite?)"