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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Delay with Drag & Drop (Widgets)?


So I've been following this tutorial to create a simple drag and drop UI element. Part of my version is that the DragWidget representation (in the tutorial, it's DragWidget) is smaller than the widget being dragged (Healthbar in the tutorial). However, when the drag is started, the DragWidget's starting location is offset to the Healthbar was located. To counter this, I set the drag pivot to be Center Center instead of Mouse Down within the 'Create WidgetDrag'. However, when I do that, it has a delay before snapping to the center of the mouse location.

I've been referring to things as if they have the same names and visuals as the tutorial, but obviously I'm just applying it to my own stuff. Oh, I've also set the 'HealthBar' to be invisible when dragging. Here's a video of the issue.


There's two solutions I can think of but I'm not sure how to achieve them:

  1. Set DragWidget's position to the center of the mouse when the drag begins, instead of the location of the health bar.

  2. Remove the delay with drag, so it instead snaps to the mouse instantly.

So how do I fix this delay/lag?

Product Version: UE 4.20
more ▼

asked Dec 28 '18 at 03:30 PM in Blueprint Scripting

avatar image

26 1 5 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