Hi, I am just starting my journey with Phaser so I might be missing some simple step but I stumbled upon such problem. I have 2 scenes added to GameConfig
. When user click on gameObject
which have handCursor active with
.setInteractive({useHandCursor: true})
I want to show 2nd scene on top of the first one with with
this.scene.bringToTop('gameWon`)
Scene is displayed correctly but the cursor is still “hand” instead of normal pointer. This does not happend if I try to open scene when cursor is not over any object. I tried to disable that object before opening 2nd scene with
disableInteractive()
but it didn’t help. 2nd scen have only one Text
game object which is not interactive. How could I make sure that after opening new scene I will see default cursor?
I am using Phaser version 3.22.0
Edit:
If in 2nd scene I hover over interactive game object and then move it away cursor works correctly and switch do default one.