[Feature request]: Blueprint node to set the mouse position

Hi,

It would be great to get a blueprint node to set the mouse position. I know that this function is available in a plugin made by , but I’d rather not integrate a plugin just to get that single functionality. Also, in my opinion this functionality should be standard and part of the blueprint node library.

Thanks,

^ Second this. Would also want it not to cause an input event. When flying around in 6DOF, say up into a loop, the mouse cursor will get stuck on the top edge of the screen preventing free motion. It also goes off onto other monitors regardless if you’re in full-screen and/or standalone and click events will register causing other apps to open etc. Screen wrap in both X and Y would be awesome, or a node like this to recenter the mouse upon tick.

+1 this. I always see answer to this question as “you can do it in C++” but it seems like a very fundamental need for blueprints-only projects, without relying on :wink:

Dear UE Devs, this would be a very simple addition. Please…

Hi everyone,

Thank you for your request. This is already in our system as UE-21477. Unfortunately, I do not have a timeframe available of when it will be addressed.

Dear UE Devs, i have found “set mouse position” in blueprints, and i want to bind the mouse position to an actor, but i dont know what links to “reply” which causes a problem, could you give me tips? thanks!

So anyone that sees this doesnt bother checking. this is listed under “wont fix” in the bug tracker.

I think we all deserve at the vary least an explanation as to WHY it wont be fixed. If it can be done in C there should be no reason it cant be done in blueprints. If someone was able to make this in a plugin then surely the unreal staff can just copy it.(im sure the dev that did it wont mind, they would take it as a compliment.)

Hi Jener,

Which report are you currently viewing? I checked on my end and, as far as I can tell UE-21477 is still marked as unresolved. It has not been closed as Won’t Fix. Are you seeing something different on your end?

I Didnt think this would get a response, But in the public issue tracker it would not come up. So i did a regular search for the issue itself and found another duplicate for it which was listed as “Wont fix”. Id have included the link if i thought anyone would have actually responded/cared/looked into it.

If you check this, Unreal Engine Issues and Bug Tracker (UE-21477) it should show up with unavailable as the reason.

Found it.
This is the other one i found, Unreal Engine Issues and Bug Tracker (UE-19589) it is 4.10 and it actually seems like its in the wrong category as the person doesnt seem to be talking about UMG but the dev response is about UMG. They also mention via a answerhub link that they wont be “exposing the applications SetCursorPos() at this time.” as of Oct 07 '15 and May 17 '16.

Though they seem to have done that in C++/Its available as a plugin regardless and worst case they could limit the mouse move location to within the screenspace of the window if thats the worry?

Is there any more info listed on your side which you can share with us? or a link so the rest of us can view it as well?

That said, if you could annoy someone into taking the 30 minutes to add this that would be great… lol.(im attempting to look into C++ to try to figure out how to do this myself since i dont want to use a plugin, i had wanted to keep it JUST to unreal blueprints.) Sorry for complaining, im sure you get a ton of it.

(just to add… there seems to be allot of “little things” that get ignored that dont seem like they would take long to fix that have gone at least a year without a fix, I think small bugs/basic missing features should be weighted by how long they have gone without a fix so their priority goes up over time, no bug should be left behind :). Not that i dont appreciate all the work everyone puts into unreal! especially the staff that has to deal with us! and thanks for your response, improved my opinion of unreal in general.)

UE-19589 was closed as Won’t Fix because the feature technically already exists. You can find more information on how to set that up here:

For UE-21477, the reason it is not public is because it contains some sensitive information, so unfortunately we had to pull the public access. However, I have updated the report to reflect that additional developers are requesting this feature.

My understanding is that the suggested ‘fix’ only works with a HUD/user interface and it seems like you have to stretch it across the screen to be able to use it, That seems more hacky to me if i dont need a HUD, i should simply be able to just say “Set Mouse Pos To”. For now im going to look into implementing it myself as there does seem to be others that have done the same and it doesnt look like it took much effort.

Was there an actual reason listed as to why they wont implement this since people can apparently implement it on their own anyway and since its already in C++?

Thank you for your continued response and help, much appreciated.

Edit: I got it to work, though not exactly as desired. will have to play with it more. That said(and i may be wrong) i think i know why they dont want this as a feature and went with the HUD/UI alternative. Seems like there should be middle ground without the need of a HUD/UI though. Maybe ill try to get that to work too. (i know far too little to know if this is a good idea, Any way i can ask you privately if my theory is right?)

It may be good to ask this type of question on the forums. We have a strong, active community there, many of whom have a significant background in blueprints, UI, UMG, etc. I’d post in the Blueprint Scripting section.