Im trying to make a toggle button for people to enable their mouse cursor, and disable input when doing so, so they can press various buttons on screen in order too see different tooltips. However when trying to disable it and re-enable player input it seems not to work. I have put the node “set player controller” in the target and player controller and I didn’t achieve a result with that.
Hey @JackBeStupid!
You can handle it inside the level blueprint
Open the level blueprint like this:
And there, enable / disable player input like this:
Also don’t forget to use the Set Input Mode Game And UI
node aside from showing the cursor, and change it back afterwards of course with the Set Input Mode Game Only
node.
Hope this helps!
Looks like you need to set a Boolean variable to be checked and flipped
When input is disabled will this still work to Enable it?
Will “Debug Key Q” register pressing?
Yep Tested it! But of course, that was just to show my approach, an IA should be used in the actual implementation.
Luv u @Nawrot
1 Like
25 years as reverse engineer, it is just stronger than me.
1 Like