Learned to add variables correctly, added more objects
The code is in the first picture, but you can somehow retrieve data from the local storage at once all the variables (keys)
For example
If the B key is pressed then change the animation frame of sprite 1 to the var variable and change the animation frame of sprite 2 to the var1 variable?
It just turns out when I load the variable var and var1, then the code reads only var1.