I built this toy using and Arduino, a laser diode, two servo motors, and a joystick. The two servo motors allow

it to have biaxial motion, allowing control of the X and Y coordinates of the laser for precise pointing. The range of motion is adjustable in the code, to account for distance to the target surface. The laser moves to random coordinates, unless Joystick Mode is enabled. There is a switch to enable joystick mode, and when it is activated, the laser will

be controlled by the attatched joystick. The code can be found at:
https://github.com\ari-weber/Arduino/tree/main/laser_FINAL