In the event sheet I want to reset instance variable to its initial value.
For example, when certain instance variable reaches 0 I want it to reset to its initial value. I cannot find a way to do this.
Develop games in your browser. Powerful, performant & highly capable.
sprite set instance variable?
If the initial value changes (which seems strange, because it's the initial value and is set once) you might want to add an initial value instance variable and set the instance variable to that when 0 is reached..