Need help with health bar

Hello. I have a problem. I have a health bar and a mask that works with it, but the health goes from right to left and I want it to go from left to right as it decreases. I will attach an image of the script and a link top a video of the visual problem. If anyone has any ideas please let me know.

https://vimeo.com/447868747

This forum is for UIToolKit you want the other forum for uGUI and Textmesh Pro.

Sorry. Will change