# How to make third person camera only move when right clicking 

**URL:** <https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [September 25, 2025, 2:33pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811 "2025-09-25T14:33:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trentbent8500](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trentbent8500](https://forums.unrealengine.com/u/Trentbent8500)\
**Post date:** [September 25, 2025, 2:33pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811/1 "2025-09-25T14:33:14Z")

</div>

I’m new to unreal engine and what I’m looking for is a camera that only moves when you hold right click. I’ve looked it up already but there weren’t any really good answers.  
All I need is for someone to show how to make what I have in the screenshot move by right clicking.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/b/e4ba148a900c718dd0007de06ccb13dd1a4db18d.png)

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [September 25, 2025, 2:48pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811/2 "2025-09-25T14:48:55Z")

</div>

Hey @Trentbent8500

you mean like this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/b/7eb20a5464bf7152a2c4cd09113ed763e319f24c.png)

You set a boolean variable to true when pressing RightMouseButton. With the branch you can then check if you variable is tru =\> Aim or false =\> nothing happens.

Or you can use a gate which you open / close with RightMouseButton:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/b/acb69614b022aba68951d025922764a1e7f5d95d.png)

---

<div class="post-metadata">

**Author:** ![Trentbent8500](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trentbent8500](https://forums.unrealengine.com/u/Trentbent8500)\
**Post date:** [September 25, 2025, 8:26pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811/3 "2025-09-25T20:26:34Z")

</div>

Thanks for responding, although I’m still kinda confused cause I don’t know anything about gates or booleans is there a way you could tell me how to set this up?

---

<div class="post-metadata">

**Author:** ![Trentbent8500](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trentbent8500](https://forums.unrealengine.com/u/Trentbent8500)\
**Post date:** [September 25, 2025, 8:29pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811/4 "2025-09-25T20:29:17Z")

</div>

Also I want to use the gate method because that one seems easier to me.

---

<div class="post-metadata">

**Author:** ![Trentbent8500](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trentbent8500](https://forums.unrealengine.com/u/Trentbent8500)\
**Post date:** [September 25, 2025, 8:44pm UTC](https://forums.unrealengine.com/t/how-to-make-third-person-camera-only-move-when-right-clicking/2659811/5 "2025-09-25T20:44:03Z")

</div>

Actually nevermind! I was able to figure it out myself. Thanks for sending this though, it helped me understand it a bit better
