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"

Check if mouse cursor is on a image widget

Button widget has inappropriate behavior. I'm trying to simulate button widget with image widget. Can I check if mouse cursor is hovering a image? Can I define a non rectangular image region to hovered image? Thanks.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 17 '18 at 04:11 AM in Blueprint Scripting

avatar image

RHERWOLF
5 3 3 5

avatar image MrMcKvarz Apr 17 '18 at 11:06 AM

Hi, why are you trying to to make an image work as a button? If you need a custom shape for you button check out this.

avatar image RHERWOLF Apr 17 '18 at 01:16 PM

I need specifics button controls (without much of the standard properties).

avatar image MrMcKvarz Apr 17 '18 at 03:11 PM

What do you want your button to able to do?

avatar image RHERWOLF Apr 17 '18 at 03:48 PM

Extern specification when uses normal, hovered, pressed and disabled styles (function call exchanges style when needed) and intern "collision between cursor and button" process (function call returns true if and only if mouse cursor is hovering the button, possible specify button shape).

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

1 answer: sort voted first
more ▼

answered Apr 17 '18 at 12:04 PM

avatar image

Velrin
375 2 10 13

avatar image RHERWOLF Apr 17 '18 at 01:19 PM

Can I define a non rectangular image region to hovered image?

(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