[Question] Shift Texture in surface.DrawTexturedRect

Hi, I have a little problem with my script.
I’m trying to make a dynamic compas with a texture that shift.

Anyone know how to drag a texture without changing the origins of DrawTexturedRect?
And is it possible to loop the texture on the x axis?

Thank you in advance.

You may be looking for **[Surface.DrawTexturedRectUV


Oops, I have not seen it…

Exactly what I needed!
Thank you for the quick response