Call scene function from outside scene

I have a file main.js from which I start a new phaser game with a scene called scene1. Can anyone tell me how I can call a function inside scene1 from main.js? Is it even possible?


It is, but it’s a little unusual. What do you want to accomplish specifically?

I want to call a scenes functions from outside of the scene.

It took 3 days for my original question to be approved and published on this forum, so there was plenty of time to find a solution from other sources.

So it’s solved?

yes, it is solved.