When you constrain thet ball, the constrain attributes includes a weight. If you animate this weight up and down, the ball will switch between the constrained point and the group node's location.