- What do you want to achieve?
I want to have a frame in front of another frame where the front frame makes the frame behind it invisible.
This is the picture I want to achieve. Let’s say this is the health bar. I wanted to have 3 frames, 1 for the length of the entire health bar, 1 for the current health, and 1 where the frame would do the following above for each segments (where the arrow is pointing at).
- What is the issue?
The current GUI I have right now does not do the following requirement. I have made individual segments and current frames to replicate what I wanted to achieve. I want to know if there is some kind of trick I can replicate this without scripting it.
- What solutions have you tried so far?
I know a way to script it so that I can create each individual GUI part for the entire health bar, but this may not be reasonable as there are too many frames to handle if the player has a really large health pool. I know there is a way to make the parent frame hide any excess size of the inner frame that are past the parent’s size, but not the other way around (if such a thing exists).