x

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"

OnMouseButtonDown stops execution OnKeyDown

I have a indepth system for changing the keyboard and mouse bindings. And in that system I using OnMouseButtonDown and OnKeyDown functions. They are being used in a widget BP.

The problem is that for some reason when OnMouseButtonDown fuction is being executed stops OnKeyDown to be executed afterwards, no responce at all.

Did some one else had the same problem?

Any help would be appreciated!

Product Version: UE 4.8
Tags:
more ▼

asked Oct 12 '15 at 09:06 PM in Blueprint Scripting

avatar image

MasterChief_UA
16 2 3 5

avatar image Adam Davis STAFF Oct 12 '15 at 09:26 PM

Hi MasterChief_UA,

Did you make sure to remove "consume input" from your button events?

avatar image MasterChief_UA Oct 13 '15 at 05:57 AM

Hello Adam,

Im not sure where I can access "consume input".

I have buttons with thext on top of them and when I click the button It enters the mode (enabling boolean) where OnMouseButtonDown or OnKeyDown would fire. Also these buttons have deselected "Is focusable" becouse when I press certain keys like Tab it would produce a wrong responce like focusing the next button.

So Im guessing that when I pressing a key and it registeres in OnMouseButtonDown the Button that i clicked on to start would loose focus or something but I thought if it had Is focusable" it wouldnt matter.

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

0 answers: sort voted first
Be the first one to answer this question
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