I understand the picture, but don't understand your question.. If you need to know the top Y coordinate of the tiled background object (green dot on your image), you can use BBoxTop expression.
To detect if the player is on a slope, you can try "overlapping at offset". Say, if it's overlapping the ground at (-2,1), but not overlapping at (2,1), then it has a slope on the left.