MZ A Question about Sprite_Button

Hola señoras y señores-

I'm not sure if this has been asked before and I hope that I make some sense... but could somebody explain to me why, when the Sprite_Button at the top-right corner of the map is clicked (to activate the menu), the $gamePlayer doesn't walk towards it?

I know it's a sprite added to the windowLayer of the scene, but where is the code that prevents the $gamePlayer from reacting to the mouse-click?

Muchos gracias in advance!
my guess is on the mouse part on over, when it hover a image/button,
it doesn't walk, so you might want to look at the mouse function as well,
or the menu part how it's made to find your answer.

it would be weird if you open the menu, the player is walking?
The map scene's processMapTouch method includes a check for isAnyButtonPressed. See rmmz_scenes.js for details~
The map scene's processMapTouch method includes a check for isAnyButtonPressed. See rmmz_scenes.js for details~
Exactly what I needed to know! Thank you, yet again, @caethyril 🙂

Original thread: https://forums.rpgmakerweb.com/threads/a-question-about-sprite_button.141454/