I was following this tutorial to make a mana bar for my game, but I noticed when the hp/mana/whatever reaches a negative value, the bar goes outside the frame in the opposite direction.
I woudnt have notice this in a normal situation, but since I have an ability that will consume mana every second, I noticed once you reach 0 power, the bar keeps going in a negative value.
How could I fix this? Thank you. Appreciate a comment with a hint or tip rather than a capx I dont like copy pastes.
This is the tutorial.