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"

On Press and On Release dont work but On Click does.

In the image below the UMG blueprint is working!

I click the button, move the window around and when i click the button again it stops following the mouse.

However when i disconnect the flipflop and On clicked event and connect the On Pressed and On Released button events (as shown with green dotted lines) it stops working. If i preview the blueprint while playing it still all fires off in exactly the same way but the window doesn't move.

The intention is that i can click the button (and hold it down) and drag it around then when i release that button it will stay in place. like you would in windows or most other games where you can move the interface.

Can anyone shed some light on what I'm doing wrong here?

Any help appreciated. This is giving me a headache.

alt text

Product Version: UE 4.16
Tags:
help.jpg (1.2 MB)
more ▼

asked Jul 17 '17 at 11:36 AM in Blueprint Scripting

avatar image

Eightshot
42 4 5 4

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

1 answer: sort voted first

Your problem is in the Interaction configuration.

Go to the DESIGNER in the widget. Go to Interaction section. Expand the section. Where it says "Click method" might say "Down and Up" but if you want to know all status, you might change to "Precise click" Do the same for Touch method.

Let me know if it worked for you. Regards

more ▼

answered Jul 17 '17 at 04:05 PM

avatar image

leofucci
70 2 4 8

avatar image Eightshot Jul 17 '17 at 06:13 PM

That worked thank you. That was really baking my noodle :)

(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