How to use a portion from a spritesheet as background?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By krishnakumarm

I have a sprite sheet - a small tile of which I want to use as a repeating background.

I have set Region as Enabled for the Sprite to set the desired portion of the sprite sheet.

Also tried importing the resource with Repeated as Enabled.

It did not work. Could you please help

:bust_in_silhouette: Reply From: rakkarage

I tried a TextureRect, and an AtlasTexture with repeat flag set and not work either…

I guess you need to set repeat in import settings?
https://forum.godotengine.org/52947/repeat-sprite-by-region