SunFounder ESP32 Starter Kit
2.Wand
• Create a Wand sprite and rotate its direction to 180 to point to the right.
• Now create a variable hp to record its life value, initially set to 3. Then read the Joystick’s value, which is used
to control the wand’s movement.
668 Chapter 4. Play with Scratch