A dog gets its legs tangled with a stick.
There is a dog by a stick.