Wow! I did something similar in my 3D maze (blocking on page_break etc.), but this is a very general solution, with a very nice interface. Amazing. Thanks for sharing, I am curious to see where people will take it.
BTW, I didn’t know you could run your own functions from wixsite.com. I was using kvdb.io
Link if you are curious: Two-player 3D game demo: The Dungeon of Lamurloq (first-person POV dungeon crawler)