Asked — Edited
I want to make the robot detect a red/blue or green object. I want to make it such a way that whenever i move the object in any direction, it should be able to turn its horizontally & vertically.
Upgrade to ARC Pro
Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.
use the gear at the bottom right of the control to specify which servo is going to be used for x and y axis and to enable movement if you want that.
Use the tracking button at the top of the control to setup what colors you want to track. there are many shades of red/blue and green. this will allow you to specify what shade.
This user is actively performing that exercise.