To be honest, it's some kind of nonsense.
Let's assume we have a real situation:
Question: How should the green dragon attack to hit both the griffin and the pikeman at the same time?
In a different scenario:
The task is the same: the dragon must attack both the griffin and the pikeman without hitting its own units, but it must stand right next to the centaur.
Perhaps some will find these tasks absurd, and the answers obvious, but for me, for example, it's not entirely clear. That's why I created a diagram.
I think this topic is already in the physics engine, and it's explained there in a simpler way.