I have 3 tiles called leftTile, middleTile, and righTile. I added a function for them to move by using SetActorLocation triggered by the event tick. I also added a vector variable to SetActorLocation called speed and I have a boolean variable called IsDamaged cast from the PaperCharacterBlueprint. The flow is when IsDamaged is true the speed’s X value is set to 0 otherwise it is -10.
What happened is when the tiles will stop moving and the gap between sprites are created on random positions.
Here’s my Blueprint
and here’s the output
I appreciate your answers. Cheers