Mouse Input Only Works When Pressed

Is this in the controller? Do you have any widgets?

I made a 3D object that I want to move when the mouse is moved. The problem is that the object only moves when a mouse button is held. If I move the mouse when nothing is pressed, the object doesn’t move. I want the object to move from any input. Please help me fix this problem, thanks!
This is my blueprint:

This is in the player character. I wanted it to move with the mouse but also when the player does. No, I do not have any widgets, I plan on converting the sphere into one later on.

I tried removing consume input but it didn’t work. I even tried making a new axis event to make sure it isn’t consumed anywhere but it still doesn’t work.

Does anything else in you project uses these inputs? The input might be consumed there. If that’s the case, select this node in the other blueprint and uncheck the ConsumeInput tickbox.

It also may be worth noting that when i am in the view port it says click for mouse control.

It may be better to locally measure the delta in the mouse position using the getmouseposition function in the player controller

It’s probably too little too late (half a year…) at this point but it just dawned on me that it might be due to the way the cursor is handled. It should work the way you need once the player controller hides the cursor.

1 Like