Screen to world

used screen to world to find the distance between the boundry and the
corner of the screent to the player