Hello, So I am trying to make my left CTRL button to show the mouse cursor when pressed while when pressed for the second time it is supposed to hide it instead but my script doesn’t seem to work
You will have to set your “Cursor Shown” Bool otherwise it will always get stuck in (false state I assume) a state. Remember in your case “Cursor Shown” != “Show Mouse Cursor”.
Hi,
Instead of having to manage two variables, try Using a Toggle node in Blueprints. It will do exactly what you need to do. Also you can look into Activation: Activation
Thanks
