Have ball control a leg

How can I have the movement of the ball control the leg?

Use empty as target. Empty parented to ball and placed at leg IK bone.

Thank you. That worked well. There are still some issues not related to that but this is a good place for now.