Score across different scenes


#1

I want to implement a score system into my space with different scenes. How exactly can I do this? And could you show me how to do it?


Are global variables possible in Cospaces?
#2

Hi David,

you can use JavaScript to set global properties which are shared across all scenes. For example, you can set score property with a value of 1 in one scene like this:

scene1

And then you can retrieve the value of this property in another scene like this:

scene2