In The Secret Lives of Pets,
Two dogs from Manhattan, named Max and Duke, get lost in Brooklyn. They are pursued by abandoned animals who intend to harm them, led by an angry rabbit named Snowball. The two groups clash on the Brooklyn Bridge,
and it looks like curtains for our protagonists, when
friendly pets led by the fluffy dog "Gidget" find them and defeat the attackers.
My question is this: How did Gidget et al. know where to find Max and Duke, and get to them in time?
Apologies if this was explained in the movie. I kept falling asleep.