Moving up to another piece but not beyond

I’m trying to speed up the act of moving pieces towards an x axis position of another piece but not beyond it. In addition the pieces that are moving must only move their individual movement allowance, which ranges between 5-9 hex’s, towards the destination piece.

The module is a rugby game & the pieces are players moving towards a ball piece which obviously moves around the board.

Can this be done?

Any help is much appreciated.