hi - im new
I’m making a game sort of thing (my first) and can’t work out how to get a variable to increase by one on the click of a button. I have a dynamic text field which reads the variable (the variable is called percent)
I have this code to increase the variable 1 every time the button is clicked, but when you press the button, the variable changes to 1 but will not increase anymore
this is probably really simple!
[AS]
on (release) {
percent = +1;
}
[/AS]
Thanks For help,
richard