Draw perimeter around player range in grid based game

I basically want to draw a line of some sort at the outer perimeter of the players range. here is an example from the game flashpoint that does exactly what I need.


I would also love to be able to draw the grid but I can make a separate question for that if needed. I have tried using a line renderer but i’m not sure of the best way to get the points to feed it.

I am not sure I understand. What do you mean by they are image prefabs. It sounds like you are saying they have some toggleable pieces attached to each cell. If so, how would I go about doing that? Also, thanks for the info on flood filling, I didn’t know that’s what it was called and I guess I kinda wrote my own but it’s not very good. @toddisarockstar