Getting the beaver to slow down

Hi. I’m trying to finish this here project I’ve been working on for a few weeks. I’m attempting to have a beaver jump up and throw a ball at the duck as he flies by, but I am having a hard time figuring out the exact condition/events for the beaver. Any assistance on this would be appreciated.

If you give your beaver a platformer behavior, then you can trigger jumps as you like.
For throwing balls, you create a ball at the beaver’s position and apply a force to it, depending on any angle or position.
Give it a try and let us know.