To make make sprite collide with certain color in background image

So I’m trying to make it so that when the sprite you are controlling collides with the (51,255,51) green in the background, it collided like it’s a wall. I’ve been trying for over a week at this point and the only solution I can think of is putting up sprites where I want it to collide and do it like that. I obviously wouldn’t like to if possible so and help would be greatly appreciated.

This block should be the one to help you:

component_method (2)

Show us your relevant blocks / layout so we can see what you are trying to achieve

I don’t have any relevant blocks as I’ve had to scrap anything I did have because it either didn’t work or I got pissed. The blocks I do have are relevant to other features in the app so yeah. I’ve been trying to use that block but whatever I tried never worked.

This might keep you entertained for a while…
https://groups.google.com/forum/#!searchin/mitappinventortest/timai2$20circle|sort:date/mitappinventortest/k4HR3blHBkg/P-KlqWh_AgAJ

This pong app uses no sprite walls …