Local variables

Hi and sorry for the bad question but where I can set a variable to local? When I ini a var its global always I think. ^^


I create a var and name it Test and ini it to 2 - in Sprite1. Test is 2 now in all other sprites and not only in Sprite1.

When click on 'make a variable' below where you enter the name, there are two buttons, one marked 'for all sprites', and the other 'for this sprite only'. Just click on the 'for this sprite only' button.
Welcome to the forums!


Thanks! So simple... argh.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.