hi
i have a variable "var1" at the beginign of the layer the value is 300 i would like to do this:
every time i click, it remove -5 from "var1" so it goes from 300 to 295, 290 etc etc this actually works fine.
IM STUCK AT THIS:
i have a sprite "lifebar" with ha maximum size of 300
i would like every time my "var1" lose -5 the "lifebar" width lose -5
how to achive that formula??