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"

3D Widgets not taking any input

Hi, I'm not able to make 3D widget components take any input from the keyboard or mouse, in any input mode, in one of my projects.

the setup for the blueprint.

To reduce this problem to its simplest state, i made the simplest possible setup I could. A blueprint with a single Widget component, placed in front of the player spawn, that sets input mode to UI only on startup, on a completely fresh new level with nothing else in it. The cursor appears, but the widget is totally unresponsive to both keyboard and mouse input.

so i decided that i'd try to make it work in a totally new project. i opened a stock FPS project and redid the whole thing. to my surprise, not only does it work, but my initial target (an in-game web browser) works 100% with no issues at all. it takes all mouse clicks, keyboard inputs, everything. I just don't know how to make this happen in my original project

alt text

something, somewhere in my original project is causing my 3d widgets to not accept any input, but I don't even know where to start looking. What am I missing? what sort of things could be preventing them from working?

Product Version: UE 4.21
screenshot-1.png (118.5 kB)
screenshot-3.png (412.7 kB)
more ▼

asked Feb 16 '19 at 09:48 AM in Blueprint Scripting

avatar image

6 2 2

avatar image Nastymonk Jul 25 '19 at 05:05 PM

Hi can you tell a bit more about this setup?

I was also trying to implement an in-game terminal. My 3D widget doesn't respond to input even if I use Set Input Mode UI only. 3D Widget is supposed to be working together with Widget Interaction Component, which will simulate player input. But that requires lots of key mapping in the WIC, which isn't a good choice.

Your implementation seems only requires a Widget Component without WIC. And the widget component takes all keyboard input just like a normal textbox.

Can you show me more about how this is done?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

so not six minutes after posting this i found my own solution. I'm going to leave it up, in case somebody else in the world runs into the same problem.

I had a UI widget added to my viewport that covered the entire thing in a 0 alpha image. this was covering up all mouse clicks. be sure you don't have something invisible in front of your other UI elements!

more ▼

answered Feb 16 '19 at 09:56 AM

avatar image

6 2 2

avatar image Botfly08 Feb 26 '19 at 01:08 AM

Thanks, this saved me a lot of time....Can't thank you enough

(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