man these puzzles are really well made, how did you make those if I may ask?
It's a simple trick of seamless room switching that I learned from Midnight Dungeon, you can download code and open the game in Bitsy to see for yourself. Smoke and mirrors. :)