The Scratch desktop version is already available for Raspberry Pi 5 programs, and you can use it to control GPIO.$ sudo apt ...
In this project, we built a fish-following robot on an aluminium frame. A Raspberry Pi 5 with a Pi Camera Module 3 looks down ...