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"

Custom widget, Event "on mouse enter" and "On mouse Leave" triggers constantly

Hi folks,

Can anyone help me with the following.

I made a simple custom widget like this: alt text

Inside my inventory widget, i created an amound of these slot widget instances when constructed like this: alt text

Everything so far behaves as expected, but when i hover the cursor on each slot it calls the instance "on mouse enter" and "leave" event like multiple times per frame rate even if the mouse is not moving.. alt text

Sugestions please? im searching for 5 hours for a solution...

Product Version: UE 4.22
Tags:
widget.jpg (180.4 kB)
inventory.jpg (88.2 kB)
slot.jpg (373.4 kB)
more ▼

asked Jul 12 '19 at 11:48 AM in Blueprint Scripting

avatar image

Arcaniaa
1 1 1

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

2 answers: sort voted first

NVM i found the solution!,

Because of the set position to mouse, the pointer is hitting slot and popup widget causes to loop constantly trough mouse enter - Mouse leave..

alt text

after checking each widget childs "Visibility" inside the popup widget, and setted them to "Hit test invisible" it is now showing as expected. Thx anyway !! :)

mouse.jpg (50.2 kB)
more ▼

answered Jul 12 '19 at 01:30 PM

avatar image

Arcaniaa
1 1 1

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

Hi !

Did you try with a 'Is Hovered' in the inventory slot ?

more ▼

answered Jul 12 '19 at 12:00 PM

avatar image

KrazyApple
23 1 6 8

avatar image Arcaniaa Jul 12 '19 at 12:48 PM

Yes, same effect

(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