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"

[bug?] Drag drop On Drag Leave

I have buttons that the user can click to get info, or drag and drop into the map to spawn actors. I have the button setup to have a drag drop operation that doesn't do anything, I just use it to get the functionality for dragging. I have it set up so in the button blueprint, the event On Drag Leave sets the mode in the player controller to "spawning". Within the player controller blueprint, on tick, I draw the temporary actor under the finger while the mode is spawning (finger is being dragged) and on the touch input ended withing the player controller, I end the drag, spawn the final actor, and set the mode back to waiting. Everything works in the editor, but I get a possible bug when I play on the android device...

It works if I drag and drop, like normal. But if I do a quick tap on the button, the mode will stay "waiting", as expected then if I touch elsewhere on the screen, the button's On Drag Lave event gets called, switches the mode to spawning, and then spawns the object... If I touch on the button and move slightly, this doesn't happen. only if it is a quick tap will the button's On Drag Leave event get called, even though it isn't a drag off the button, it is a tap elsewhere on the screen.

Product Version: UE 4.10
more ▼

asked Jan 25 '16 at 09:19 PM in Blueprint Scripting

avatar image

26 5 12 10

(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