Ui strokes not working

I was told previously that, in order to add a border to a Gui (specifically a frame) that already has a Ui corner in it I need to add a Ui stroke. I attempted to do so, but it didn’t change anything. What am I doing wrong?

4 Likes

You cannot add a border to frames that have UICorners in them. However, there is a work around. What I usually do is insert a frame inside of another one and use the outer one as the border.

You should then set the anchor point of the one inside the frame to (0.5, 0.5), set its position to {0.5, 0},{0.5, 0} and set its size to {1, -4},{1, -4}. You could adjust the thickness of the border by changing the -4s.

image

I have attached a file below so you can work with it.

CornerBorderExample.rbxl (29.9 KB)

3 Likes

It won’t work in games, it will only work in Studio.

1 Like

Sorry, but you actually can add them to a frame that has a UI Corner.

You cannot add a border to frames that have a UICorner.

If you believe that there is, I would like to see a detailed step by step tutorial in achieving one.

I just did it took five seconds

Could you perhaps share a screenshot so I can see what you did?

image
No other modification, just that

1 Like

I’ve never seen this before, is it new?

1 Like

Nope, you need to be in the beta

Since this feature is only available in studio, that means the only work around at the moment would be the method what I did, right?

Yeah. For now that’s the only way, it should be fairly soon tho.

I’m looking forwards to its release.

1 Like

I’m late but is this feature out now?