We have a side gate rarely used. Ants go across the top of it to go up the wall. I assume they are harvesting guano from the bats that are sometimes in residence there.
I opened the gate the other day and, noting the ants’ confusion, left it overnight to see how they resolved the issue the next day.
Next day, I forgot about it. Until our dog joined us in the nearby park. I had left the front gate open, and the rear sliding glass door, and it hadn’t taken him long to figure out he could push the side gate open.
The ants had established a new route along the ground, but the old scent pathway was still there and so a few made it out on the gate, only to have to turn around and go back.
I closed the gate again. Have at it, ants!
(I left the sound because at times it has been so noisy lately.)