Decreasing Stamina Bar Issue

Hi, Im trying to make a image on my canvas decrease when I press shift, to make a stamina bar… this is what I have so far:

and I keep getting an error saying: “error CS1525: Unexpected symbol `Image’”

Thanks :slight_smile:

Line 9 is missing a ( , and your entire if block should be enclosed in { }