Added function to check if an object is in range

Use this for environment interactions