The block sets the orientation of the robot to align the left and right movement of the robot in horizontal robot position and vertical robot position.

The example demonstrates how to make a vertical robot pet that senses the hand on the IR sensor and acts accordingly.
Script

Alert: You need to calibrate the IR sensor values to make this program run perfectly.
Output
Read More