Learn where the root note(s) lands on each shape. Then you know where to position your hand when changing from one shape to another. You can also practice to play the shapes in mixed order, instead of going through them linearly.
Christopher Schlegel has many good lessons on pentatonic shapes[br]https://www.guitartricks.com/instructor.php?input=155014