[Closed] UMG mouse issues
(UE4.6 BTW) I'm trying to create a dialog menu system so that when the user "interacts" (defaults to right click) with a character, it will open up a menu. Before I try to do anything useful, I'm trying to get the basics down. So I created a simple menu that just has one button designed to close the menu.
The issue I have is that the mouse is not locked to the viewport and I can't get rid of it after the menu is closed. My common script in all attempts are interact->create widget->add to viewport First I tried a separate show mouse cursor on get player controler 0. In the widget the button removes the widget and reverses the show mouse controller. No luck the mouse is not bound to the window and is still visible afterword.
Then I tried changing show mouse cursor to set input mode UIOnly. I actually like this better as it forces you to complete the dialog before you can do anything else. Unfortunately it has the same problem. It correctly returns control back after close, but the mouse is still there.
In both cases if you click anywhere but the button, it vanishes. The mouse shouldn't vanish until the dialog menu is closed.
asked Nov 25 '14 at 03:02 AM in Using UE4
The question has been closed Dec 18 '14 at 09:31 PM by awilliams1701 for the following reason:
The question is answered, right answer was accepted
I haven't heard back from you in a few days, so I am marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and I will offer further assistance.
Make it a great day
answered Dec 15 '14 at 10:07 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here