lets say on scene 2 i edit some variables and i want to send them to scene 1.
how do i do this?
the code i use for moving to the previous scene is this:
button.onPress = function() {
prevScene();
}
should i put the variables in the () of the prevScene?
thanks