If a SendCustomEventDelayed is called in one world when moving from one world to the other, it still gets executed in the other world, and by making it recursive you can keep running code within the loading screen and then other worlds. Tested and reproduced in multiple SDK2 and SDK3 worlds now.
Seems like the Udon VM should be reset when moving to another worlds.

Photo Viewer

View photos in a modal