The ball attracted the dog's attention.