Is there a way to make a key or mouse click press, press another key or button for you?

4.9.1

Its mainly for a bug fix, I am using right click to enable and disable the mouse cursor visibility. The problem is when I swap to the mouse cursor and then back, the mouse is still active and controlling the camera (which stops when it touches the edge of the screen) while invisible until I left click.

Is there a way to make the engine think it has received a key or mouse button press to make my the game viewport active again?

Set input mode game only then show mouse cursor as no. When you call show mouse cursor you want set input mode game and ui only
… So press c to set input mode to game and ui then show cursor. Press it again (need a branch maybe is cursor showing) set input mode game only and disable cursor

Hey thanks ill try this tomorrow

Hey Thanks Scott you saved my life :slight_smile: