Pet grid system

Hey there! So, i want to create a pet grid system, i already have a system to follow the player using BodyPosition.

How would i create a pet grid system like pet simulator x? Like separating them like a grid but still following the player.

How would that be possible?

Thanks!