ok, so currently I am trying to program a game in which the main hero (a round dot) can go off the edge of the screen, and appear in a whole new world (magical I know). I've managed to code that part by preparing a new world depending on where he goes, however, when he goes off the edge of the screen he is basically removed and re-added once the new world has been generated. meaning, all his variables such as "health" and "stamina" are reset to what they are when he first spawns, and it is as if a fake new clone of the hero is now being played, instead of the "original" one. does anyone know a way around this? as I've been thinking for a while but to no avail. any help would be great, thank you.