Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make this Frame only be visible inside of this ImageLabel?

Asked by 7 years ago

I'm currently working on a health Gui, and I'm running into this very annoying issue.

First off, let me explain that the health Gui is a heart, and the heart is an ImageLabel. There is a frame that will move depending on your health, however, I want that frame to be invisible if it is outside of the heart.

I have used ClipsDescendants, however the problem with that is I cant resize the borders of the ImageLabel or the heart becomes too small, too big, too stretched, etc. I've tried using a seperate frame as the borders, instead of using the ImageLabel as the borders, however, I cant make it exactly inside of the heart.

Is there any way I can do this? An explanation would be nice.

0
I am not sure what you mean, could we get a pic of your Gui? User#15461 0 — 7y
0
I'm trying to make "Overlay" visible only inside of the heart, however I cant resize the ImageLabel or the heart is affected. SevenRubyRobes 6 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

The best way to attack this situation in my opinion is by creating separate heart pictures and changing the picture every time the health goes down.

Ad

Answer this question