Help with Image Scaling

Hey there, I am currently working on a health bar I designed in Figma. However, I have found that after importing into Roblox Studio, making the inner frame that shows the current health is significantly challenging to scale perfectly. Does anyone know of a way to make it so that in the image below, the white frame (the actual health) doesn’t scale outside of the image? I know clip descendants uses bounding boxes so that wouldn’t work for corners.

image

You can put a UIPadding into the actual health bar’s parent. The UIPaddings have 4 main properties with the type UDim to control the scalar and pixel offset of its parent’s borders.

2 Likes

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