as you can see, I have player1, I have added a health canvas, with a red background and green foreground, I need to know how to access that in the script, what code I use in the script to access the green foreground's rect transform to decrease it and show more of the red when health goes down.
Any help is appreciated...
thanks