I am trying (and failing) to get mouselook whilst right mouse button is held down working

Hi All!

I am currently trying to get mouse look to only work when you have the right mouse button pressed and have tried it with “Chorded Action” and this was pretty flakey and have now tried it with a bit of a hack in BP:

This SOMETIMES works but not reliably - when the game kicks off it works first time - then if i release the right mouse button it doesn’t work at all - if i perform some other action it then doesn’t work initially but then starts working again.

It is driving me crazy! Please help!

Also totally open to using the chorded action stuff if someone can walk me through how to make it work.

Edit: sorry, i didnt fully understand the question, try this

2 Likes

Hi Symplex,

Thanks for the reply, Could you show me what you mean? I am quite new to UE dev and would really love an “explain it like he is 5” response.

I changed it to ongoing and it doesn’t work at all now.

The branch seems to somewhat randomly equate to true / false…

1 Like

tried it…same behaviour…it just seems to not reliably pick up that the right mouse button has been pressed

have you removed the chorded action? also you’re mixing enhanced inputs and legacy inputs.

yes i removed the chorded action - the reason i am mixing them is because the chorded one wouldn’t work either - it allowed free mouse look at the beginning and only then started working - though i guess it worked better than what i have right now:

this works but when i do certain actions i need to double-click and hold right mouse button - which is weird

Is there a way to turn off all inputs except for the ones I specify? It seems right and left mouse button hold both make mouselook work which is…weird?