thanks for the quick reply.
But this option makes the endless layout only the vertical part of the screen. I'm also interested in the horizontal part.
I also tried to create a new project and enable only that checkbox and it makes only the vertical component endless.
are there any other alternatives? I'm trying to make the background and the ground move (instead of the sprite object), but the effect is not very nice.