Attempting to crop an image for a loading bar

Hey, DevForum!

Right now, I am creating a game for someone that uses a XP bar as one of the UI’s. But I’m having a small issue with making the image look flush.

After doing some research, I came to the conclusion that I have to crop, not change its size (so that the image says normal, it just cuts off at a certain point).

I’ve done some research, and the common solution is to either use ClipDescendants = false, or to use ImageRect(Size/Offset). I’ve found that neither of these work for me.

Here is what I am attempting to achieve

Here is a video from another forum post that had the same issue, but they used a solution that wouldn’t work for me.

Thanks!

1 Like

Same issue I solved prior:

Thank you! I didnt see this when searching!

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