That will be 80 pixels rectangular distance. If you're looking for circular distance, keep your code structure the way it is (though note that this only works for one instance of the object being checked, not multiple - that would require an iterative list-based approach like in the post above), but filter out anything with an x coordinate greater than the calling instance's x coordinate.
Familiarize yourself with the coordinate system, e.g. that negative x is left, positive x is right, negative y is up and positive y is down. By combining this logic with simple comparison operators, you can easily check against the basic cardinal directions.