I set a "persist behavior" to an object so that it will save its data when my player switches to a different layout. Would it be possible to access that persist object from another layout?
Develop games in your browser. Powerful, performant & highly capable.
You can make it global, so it doesn't get destroyed when changing layouts (hide it somewhere or make it invisible).
Or you can store the data in a global object like an array or dictionary, or use global variables.