Download

Question regarding camera

Hi, I was wondering if anyone could help me out with a slight problem I am having.

I am trying to create a third person character wherein the camera only moves when the right mouse button is held, leaving the left mouse button open to interact with objects in the scene. The problem is that with my code working, the camera moves when any of the three mouse buttons (left, middle, right) are held, instead of only the right mouse button. How do I disable the left and middle mouse buttons in this blueprint?

Blueprint:
6260e2a74870d8a2806c6ea67b089526eb3fdea6.jpeg