how to let different things keep running at the same time on different layouts without being on those layouts?
Develop games in your browser. Powerful, performant & highly capable.
That's not possible.
One layout at a time.
One render per tick of the layout viewport.
Objects that are not in the viewport of the layout may still do things but they are not rendered.