The Rotation Sensor Reset Block
This block has more uses than resetting the rotation sensor however that is how we will be using it here.
NOTE: When you place this block a drop-down menu will automatically open up. Since we are only using it to reset we don't need that open. Please refer to the Drop-Down Menu section to learn how to close this.
To make this block reset a rotation sensor, you must first select the port of the rotation sensor you wish to reset under Port.
Then under Action it must be set to reset. This will cause it to reset the sensor as opposed to read its value.
Finally there is compare. However, because we have set it to reset this part gets ignored. Anything set here won't change the reset.
NOTE: When you place this block a drop-down menu will automatically open up. Since we are only using it to reset we don't need that open. Please refer to the Drop-Down Menu section to learn how to close this.
To make this block reset a rotation sensor, you must first select the port of the rotation sensor you wish to reset under Port.
Then under Action it must be set to reset. This will cause it to reset the sensor as opposed to read its value.
Finally there is compare. However, because we have set it to reset this part gets ignored. Anything set here won't change the reset.