Here is an example of a script that allows the robot to not fall off the table.

This is one of the problems to solve in our project.

Download the mBlock script by clicking here.

Aloha