Mouse input in exe file not working

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nityam25

Hey mouse click is working on play button i made in a menu and added a script ( get_tree().change_scene("res etc) and signal on pressed.In godot project its working fine but when i export it to exe file the play button does not respond to the mouse click?

:bust_in_silhouette: Reply From: MxtApps

Some times, the OS has got a little bug and it ignore the mouse, the keyboard, or any other input. Godot does not have the guilt of this, it also happens with Unity games. Please try restarting the game, the system, reexport again checking the options, try it in another device, etc. This probably happens by a focus error.

I hope this will be useful for you.
MxtApps :slight_smile: