Quote Originally Posted by savage110 View Post
The X and Y is actually the x and y coordinates of an animated ball. I'm using it to see if it touches the walls in a maze, and i made the background in paint. You move the ball with W,A,S, and D.
If you're trying to check the collision between two objects, don't use .GetPixel. Instead use .IntersectsWith. If you take a look at my game 'bouncy ball' in my signature it resembles brick breaker. In that game I show how to deal with collision detection.