2D click to engage in combat at appropriate attack range question

Sorry for the late reply, still learning how to navigate this site. Thank you!