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"

How to use the UMG Widget 'Set Mouse Position' Blueprints Node?

alt text

Can someone please provide and example for using the UMG Widget Set Mouse Position Blueprints Node?

Any assistance is greatly appreciated.

Thanks in advance!

Product Version: UE 4.8
more ▼

asked Sep 02 '15 at 08:56 PM in Blueprint Scripting

avatar image

31 1 2 3

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

2 answers: sort voted first

Pretty much got answered on another question, 1st image in answer

Centre Mouse Cursor

more ▼

answered Sep 03 '15 at 10:55 PM

avatar image

828 17 7 82

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

Yeah so I dont have to type it out again see my anwer there for some ideas, installing ramas extra bp nodes victory plugin would be your best bet or creating a C++ bp function library using the code hes posted on the forums or from the plugin because it doess exactly what you want. No stock node to set mouse position.

Make ssure you select an answer so people searching and googling that come across your question know exactly where to look for fast troubleshooting, it will highlight your chosen answer green.

Your node your showing is taking in a vector2d (x,y) so you want to get viewport size/divide by 2 to get center and then make vector 2d node to plug in.

One way to cheat is to lock the cursor everytime it hits that specific vector2d with the lock mouse node but I dont know if that would work even

alt text

more ▼

answered Sep 03 '15 at 11:01 PM

avatar image

1.8k 67 27 137

(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