My UIImage doesnt scale properly

i have a UI image that i use for border, but it doesn’t scale properly,
the image is 16:9, 9 sliced, and tiled

this is 16:9

this is 4:3

What is your canvas scaling set as?
What is your image recttransforms settings at?

You need to have these things setup correctly if you want the image to stretch properly on different size screens.

By canvas scaling do you mean UI Scale Mode? i set it to Scale With Screen Size

This my image rect transform
4679459--440789--3.PNG

So your image isn’t set to stretch, so it doesn’t change with screen size. It’s just centered.

You’ll also probably need to make sure your scale resolution on the canvas is correct.

But for the image, where you see that thing that looks like a target, change it to stretch with height and width.

Yes, forgot about that
thanks for the help!