How to make a distance between two character?

Hey guys, I’m making some enemy using a blueprint and it’s worked pretty nice.The problem is when the enemy seeing me they approach very close while shooting at me.Any idea how to make a distance between the enemy and my character?so the enemy can shoot me from a far position.

how do you have things currently setup? are you using basic script, behavior tree, eqs? provide some details in a clear manner so theres something for us to work with.

i imagine you probably have some script that tells the enemy to move to the detected character. if thats the case then you just need a method to tell it to stop moving if its within a certain range. this is pretty easy to do in a behavior tree but less so in a regular script