I’m having issues differentiating different rings of the same color in games using the vision sensor. It merges both of the objects and messes up my code
Have you considered using an optical sensor instead? Opticals only deal with color, so you shouldn’t get multiple rings merging with it.
That being said, if you need to be able to see two rings at once, you’ll need to use vision or multiple opticals. If you’re really set on vision, and the rings will be of different color, I’d recommend looking at color codes. If the rings are going to be the same color, merging is inevitable with vision and you’ll have to use multiple opticals at spaced intervals to detect colors of multiple rings.
TL;DR: try using an optical sensor.