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"

UMG While Hovered over a Button Use Keyboard Input To Do a Function

A very easy way to explain what I am trying to do is. if you have every played Ark Survival Evolved, then you know what type of inventory I am trying to make.

if you have not played that game. I am trying to get a button or a border does not matter which one I use, it get it to work. I went with the button because it already has the on hovered built in. I have built an inventory system. My Inventory slots are generated by a function to populate a grid panel. When I open the inventory and it focuses on that widget its hard to get any key board input to work. But I would ready like some help here on this one. While the mouse hovers over one of the inventory slots I want to press a key and it to use the hovered slot ( by calling a function of some sort)

I can get it to do what i want by clicking on the one i want to use then pressing E but on hover. even know i have use the on hovered function. i have not even got an on clicked.

I think maybe by clicking on the slot i am the putting that widget in to focus then its doing actions. any one get any ideas

Product Version: UE 4.20
Tags:
more ▼

asked Sep 17 '18 at 10:09 PM in Blueprint Scripting

avatar image

Matt.lonsdale
6 3

(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