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"

UI Widget not being set to mouse location

I am attempting to get a widget drawn at the location of the mouse when the right mouse button is clicked. So far I have my blueprint drawing the menu but it is being drawn at some kind of offset from where the mouse is located. Here are my blueprint creating the menu and an example image of the problem:

alt text alt text

The red circled area in the example image is where I right clicked. This is in the play simulation of the editor in case that matters. If you need any other info please let me know.


Product Version: UE 4.21
ctxmenu-bp.png (370.5 kB)
ctxmenu-img.png (429.0 kB)
more ▼

asked Apr 04 '19 at 04:23 AM in Blueprint Scripting

avatar image

1 1 1

avatar image Geowil Apr 05 '19 at 06:59 AM

Okay I have part of the answer. When I unticked "Remove DPI Scale" in the Set Pos in VP node, the menu started drawing much closer to the mouse but it is still not quite at the right location (maybe 350 to 400px off). Anyone have any ideas?

(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