This block works for Ruby Robot!
Having a magnetic arm is great, but what do you do with it?
Well, that's easy! You use it to raise, lower, and carry magnetboxes!
The Magnet Arm Position block allows us to move Ruby’s magnetic arm up or down, by selecting the position from the drop-down menu.
In this example code, the robot will drive forward until it registers that a magnetbox has connected, then lift the magnetic arm up.