If your ball is in the same hazard as the loose impediment, however, you can’t move the impediment and still play the ball where it was.
But again if you can shoo it away (as with noise or other non contact means) maybe you can play the ball. I do not know if golf has an animals rule.
This old boy was waltzing down the fairway the other day. Golfers just stopped play and let him ‘play through’. Payed the golfers no attention.