How do I make a texture repeat?

Godot Version

v4.2.1.stable.official [b09f793f5]


Hello. I have a game with a Sprite2d, but I can’t repeat the texture? I have tried everything I have found. Please help, thanks! (I’m using a svg)

Sprite 2Ds cannot repeat a texture unless you use a shader. If you don’t know how to use shaders, you can convert it to a Polygon2D that can repeat textures easier!

  1. Click on the sprite you want to repeat

  2. A button should appear on the top, click on it, then click on “Convert to Polygon2D”

  3. In the menu that opens, click on “Create Polygon2D”

  4. In the inspector on the right, click on “Texture” then enable Repeat

  5. Change the scale of the UV (increase it) to change how often the texture repeats.

You can also edit the UV to make the texture repeat as well!



You can repeat a texture by setting CanvasItem.texture_repeat to Repeat and enabling Sprite2D.region_enabled. Then change Sprite2D.region_rect width and height to be as big as you want the texture to repeat.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.