Sliding puzzle with ai

I have a sliding tile puzzle that you play and then it uses the A*Star to have the computer solve it. I would like to see the moves that the computer made, but it goes too fast ( I have a string of the moves). I have tried timeOut, transition, etc. How can I slow it down so I can see the individual moves as it solves the puzzle? Thank you

i used svg if that matters

I’m not sure if this is the best way to do it but you could always use setTimeout recursively to have a delay between each move.