Refactor and find nearest interactable entity.