Please help! Global variables in ios? possible alternatives?

Hello I am a new Thunkable ios user and I have run into an issue with the survey I am making in my app.
the survey takes place on different screens and depending on your answer your score goes up. your score is a variable and we need a way to use that variable throughout different screens while keeping the same value and adding on each time like a global variable. Can i do this in ios?

Hi @Ethan_Da_Silva-Pinto,

welcome to the Thunkable community!

You could try doing something like this with the Local Storage component:

thank you, i figured it out earlier.