Sort the Red and Green Disk
Now that the red disk has been diverted off of the Exit Conveyor, the blocks must now be added to pass the green disk through the Transport Conveyor.

- Repeat steps 31 and 32 to add [Spin], [Wait] and [Stop] blocks to the ‘Load green disk’ comment. Set the parameter of the [Wait] block to ‘2.’

Now that the Entry Conveyor has moved the green disk to the Transport Conveyor, the blocks from the ‘Motion’ category need to be added in order to spin the Transport Motor.
- Add a [Spin] block to the ‘Move green disk on Transport Conveyor’ comment and set the motor to ‘TransportMotor.’
![Add a [Spin] block.](/stemlabs/sites/default/files/inline-images/add-transport-motor-green.png)
The green disk will travel on the Transport Conveyor until it is detected by the Load Sensor. Thus, the ‘TransportMotor’ should spin forward until the Load Sensor detects the disk. Then, once the green disk is in front of the Load Sensor, the Diverter should be set to allow the green disk to pass through the Diverter on the Transport Conveyor.
- Repeat steps 34-37 to add a [Wait until] and [Spin to position] block to the ‘Set Diverter to allow the disk to pass through the Transport Conveyor’ [Comment] block. Set the parameter of the [Spin to position] block to ‘0.’

The Exit Conveyor should spin in reverse until the Exit Sensor detects a light value greater than the higher threshold value. Then, once the red disk is in front of the Exit Sensor, all conveyor motors should stop.
- Repeat steps 39 and 40 to add a [Wait until] block to the ‘Pass green disk through Transport Conveyor’ [Comment] block. Set the Sensor of the (Reflectivity of) block to ‘Pickup’ and the second parameter of the <Greater than> block to the higher threshold value for the Pickup Sensor.

Once the Pickup Sensor detects the green disk, the Transport Conveyor should stop.

- Add a [Stop] block to the ‘Stop the Transport Conveyor once the disk reaches the Pickup Sensor’ [Comment] block. Set the motor to ‘TransportMotor.’
![Add a [Stop] block.](/stemlabs/sites/default/files/inline-images/stop-transport-motor-green.png)