So, player in my game can pickup things in infinite distance, and i want to restrict the distance
I thought of a simple compare(X or Y): PlayerCoordinate - CursorCoordinate < 100 (100 is the maximum distance of picking up)
But then, i realised that negative numbers excist
Any ideas?