beat at
To attempt to strike a person or thing. I beat at that bug with a broom, but I was too scared to get close enough to actually hit it.
beat at something
to strike out at something. He beat at his attacker to no avail. Lily beat at the snake, but didn't harm it.