When you nod your head yes, but you wanna say no, what do you mean?~
Jokes aside, i think he meant how to use it as event? *shrugs* I thought there is already an option in the editor to set a variable and assign it to a number.
@Lnik3500 What are you trying to do actually in the event? There is already a default option in the editor, or if you wanna use Javascript, you can find at the bottom of one of the pages in the event editor.