Rotate Camera on Right Click?

Hello, I have started a project in Unreal Engine 5 and want to rotate the player camera only when the right mouse click is held down. The view will be top down similar to action rpgs like V Rising. I started off with a third person blueprint and want to add the functionality to it. At the moment the camera yaw always follows the mouse. I want it only to rotate when holding right click. The default Top down blueprint has this functionality for right click camera rotate, but I want to learn how to do it on any project.

Thanks.

1 Like

This is how you do it in BP_ThirdPersonCharacter in Third Person Template

You already have this. Just add gate, as I did, and it will work.

And with Gate, it looks like this:

2 Likes

It worked. Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.