How would I 9-slice this chat bubble?

hey guys, I am making a chat bubble for my NPCs, but how do I go about 9-slicing this UI?
my goal is to maintain the chat bubble’s stem. when I put the bubble stem at the corner, it’s width will be maintained during stretching

but if I put the bubble stem in the middle, the stem will be stretched because it’s filling the center

how would I go about this?

1 Like

You have to make the tail a separate image, when 9-slicing only the corners stay unstretched.

1 Like

oh, how would I achieve that and make the pixels line up?


(very small misalignment, but it’s driving me NUTS)

The tail seems to be slightly larger, make sure that both the bubble and the tail are exported at the same size (meaning if you just connect the raw images they line up properly). Then you just have to make sure to size and position them properly in studio. You could also try just making the tail a little smaller until it lines up.

AH, GOT WHAT YOU MEAN AFTER A WHILE, thanks so much!

ok nvm, in actual testing it’s kinda clunky


this is my 9-slice setting for the bubble

In the first image it still looks to be scaled/positioned wrong, second image seems correct but has the common roblox issue of images with transparent backgrounds having black outline, to fix that you can try this:

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