Skip to main content
Participant
May 5, 2014
Answered

I have to select the scene after Mouse.CLICK event to use keyboard movement

  • May 5, 2014
  • 2 replies
  • 243 views

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.

This topic has been closed for replies.
Correct answer Ned Murphy

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;

2 replies

Participant
May 6, 2014

Thanks it worked

Ned Murphy
Legend
May 8, 2014

You're welcome

Ned Murphy
Ned MurphyCorrect answer
Legend
May 5, 2014

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;