The Robodog is built from the Lego Spike Prime educational kit. To start the movement of the robodog, use a black object (detail), and to stop it, use a purple detail, and the color sensor triggers and starts the motors to work.
The set includes step-by-step building instruction and an example of program (in Spike environment).