how to add a radius to an enemy using A* so it can only detect the player inside it

this might be a simple question but I don’t know how to code very well and A* is confusing to me.