For simple background moving, we can simply use the repeat until statement like this:
However, if we want it to appear in a different spot, which means different y position, what we can do is create a variable and name it ‘position’, and we can set it like this:
Select the y position where is the highest and lowest you want it to go. It will look like the example below:
Here is an example of a moving cloud in the background.