Knowledge Base

How Do I Use Sensor Blocks ?

The green blocks are the sensor blocks.

The CoderZ sensor blocks retrieve data from your robot’s sensors. For example, the Get Touch isPressed block retrieves data from the robot’s Touch Sensor. You can then alter the behavior of your robot based on the data that is returned from the sensor.

The values returned by sensors can be viewed at any time in the  HUD (Heads Up Display) on the left side of the Simulation pane.

Was this article helpful?
0 out of 1 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk