Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 window loses focus after committing UMG text box

I'm using this function on my character to control mouse capture. It's not working very well.

My camera has suddenly become click and drag both in PIE and standalone. It shouldn't be.


I've gotten further with an updated function:

The problem now is that the UE4 window loses focus after I commit on a text box. I have to click it again to regain focus. This seems like extremely bizarre behavior and I can't quite understand why the engine should ever do that. Here's what my text box commit event looks like:

Product Version: UE 4.8
more ▼

asked Jul 13 '15 at 10:47 PM in Blueprint Scripting

avatar image

1 1 2 3

avatar image eXi Jul 13 '15 at 10:57 PM

I guess this is normal in this Input Mode. Either set it to UI only or disable the Camera Rotation for the time that your Mouse Cursor is visible.

avatar image KyleEmmerich Jul 13 '15 at 10:59 PM

Okay, I've gotten a bit further - updated the main question.

avatar image RuBa1987 Mar 20 '16 at 01:23 PM

Not sure if you still need help with this one but in case anyone else dose here is what I did when I ran into this issue:

alt text

It seems that for some reason when you enter text and press Enter not only does the On Enter exec path fire but Default and On Cleared also fire. So, when On Cleared fires I perform a simple reset operation (which also happens to be the same one that the controller calls when beginning text entry).

This allows you to type a message, press Enter, type another message, press Enter...

The behavior is a bit odd IMHO and isn't documented very well but this works at least.

hudfocus.png (100.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

If I find this question then anyone could find these wrong answers (at least for 4.16).

The only thing you need is:

alt text

more ▼

answered Jul 10 '17 at 03:50 PM

avatar image

860 31 13 48

avatar image 此刻不妨坐坐 Jan 25 '18 at 07:25 AM

Look at this awesome answer! I'll give you an orange

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question