The Crocodile is built from the Lego Spike Essential educational kit. The model uses belt’s drive, due to which the crocodile’s mouth opens and closes. A color sensor is installed near the crocodile’s mouth, it reacts to objects that appear as a “victim” of the crocodile.
The set includes step-by-step building instruction and an example of program (in Spike environment).