Flying with the Spatial Phidget
Use a Spatial Phidget to make your sprite fly!
![](https://www.phidgets.com/education/wp-content/uploads/2021/11/scratch_accel_title.png)
Setup
Note: You can use any Phidget with an accelerometer for this project.
VINT Hub
![](/education/wp-content/uploads/2022/12/HUB0000_square.jpg)
Code
![](https://www.phidgets.com/education/wp-content/uploads/2022/01/scratch_flying_blocks4.png)
Practice
- Modify your code to make the motion faster or slower.
- Change direction when the Spatial Phidget is shaken.