Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Video sensing
- Elena80310
-
New Scratcher
1 post
Video sensing
I want my sprite to move in the direction of my hand, just like I'm hitting a balloon. Is that possible?
https://scratch.mit.edu/projects/642783103
Thank you!
https://scratch.mit.edu/projects/642783103
Thank you!
- GIitchInTheMatrix
-
Scratcher
1000+ posts
Video sensing
I want my sprite to move in the direction of my hand, just like I'm hitting a balloon. Is that possible?I’d suggest setting it up so that the camera’s ‘Direction of motion’(Direction of motion) is in the ‘Point in direction of’ block. Than, move (x) steps. This’ll point it in the direction of motion, and move it in that direction. Than, set rotation style to not rotate at the start. Put that in a forever loop, and thats pretty much it.
https://scratch.mit.edu/projects/642783103
Thank you!![]()
- Discussion Forums
- » Help with Scripts
-
» Video sensing