Spawn sprite with delay[Resolved]

Hello, I have a problem,
In my game (infinite game) the floor, once out of the camera, is moved behind the one before it. But once the speed of the game increases, a gap appears between the two floors and grows progressively.

I’m assuming the floor objects are 800 pixels wide. Then set the floor position in the second event to x =
flloor.X() + 1600.

But a better solution: I’m also guessing you have 2 floor objects which you swap as one disappears off the left side of screen. In which case you’ll begin to notice a slight flicker to the right of the screen floor object as the game speeds up. To fix that, use 3 floor objects, side by side, and the following event (there’s no need to use the Repeat for each floor object):

Thanks for your help!