# Restrict Pawn's Rotation

**URL:** <https://forums.unrealengine.com/t/restrict-pawns-rotation/487856>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, rotate, question\
**Created:** [August 23, 2021, 7:30am UTC](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856 "2021-08-23T07:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 23, 2021, 9:58am UTC](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856/7 "2021-08-23T09:58:38Z")

</div>

Just to clarify:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/8/f685d571790de63d6d26faf35773960431857d1b.gif)](https://gyazo.com/d85aeee26dd5c1117565318e731a86fa)

This is based on Distance from the Player but, ideally, should also incorporate the angle so the whole thing switches off (disable Tick, mayhap?) when the player is far away _and_ outside of the vision cone. The vision cone is already calculated so you could leverage that.

But ofc, you may have a different idea as to when the turret’s target seeking script kicks in!

---

_[View the full topic](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856)._
