I have an object with animations named like animation1, animation2, animation3, animation4, etc.
I want to save that to a number variable but removing the word "animation", meaning
animation1 will set a variable to 1
animation2 will set a variable to 2
animation3 will set a variable to 3
and so on
Is this possible to make using only 1 event? I'm not too good with text-related expressions.