How to create a simple enemy attacking range logic that would work with its melee logic