Copy link to clipboard
Copied
Hi, I have been working on a game called The Stray Pixel, and I have it working fine, except for one thing, this thing is the fact that every time the player clicks one of the buttons on a scene iit takes them to another scene but the character can't be controlled on that scene until the background of the scene is clicked. Please help me with this.
How is the character controlled? It might be a matter of resetting the focus as part of the clicking event handler function or changing of the scene... stage.focus = this;
Copy link to clipboard
Copied
How is the character controlled? It might be a matter of resetting the focus as part of the clicking event handler function or changing of the scene... stage.focus = this;
Copy link to clipboard
Copied
Thanks it worked
Copy link to clipboard
Copied
You're welcome
Find more inspiration, events, and resources on the new Adobe Community
Explore Now