How to make a limit function?

Hello everyone!

I have a question about HP bar.
I want to make a HP bar which limit is 100.(width)

Actore will add 30 (width) when he eat the food.
I can make this function.

But I have no idea how to do HP bar's limit.

I always let HP bar exceed the limit.

Please help me・゚・(ノД`;)・゚・

Comments

Sign In or Register to comment.