Calling another Scene's function

How do I call a function that is in scene A while I am in scene B. Assuming that scene A is active. Would appreciate any help!!

You can use the Scene Manager (or, more often, the Scene Plugin) to get the instance of another scene and call methods on it.

http://labs.phaser.io/edit.html?src=src/scenes/call%20function%20in%20another%20scene.js

Given the example, I took this from it:

const KlokScene = this.scene.scene.get("KlokScene")
KlokScene.updateWijzer(lobbyData.startTime, lobbyData.time)