Invisible lines between moveble actors

I would like to have four players forming a square with invisible connections (lines) so I could move them one by one between the lines formed by each pair of actors(crossing invisible lines).