# How Should I Go About Implementing A Simple RTS Style Camera

**URL:** <https://forums.unrealengine.com/t/how-should-i-go-about-implementing-a-simple-rts-style-camera/294753>\
**Category:** Cinematics & Media\
**Tags:** rts, unreal-engine, implementation, CPP, question\
**Created:** [September 28, 2014, 12:27am UTC](https://forums.unrealengine.com/t/how-should-i-go-about-implementing-a-simple-rts-style-camera/294753 "2014-09-28T00:27:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBrew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CBrew](https://forums.unrealengine.com/u/CBrew)\
**Post date:** [September 28, 2014, 12:27am UTC](https://forums.unrealengine.com/t/how-should-i-go-about-implementing-a-simple-rts-style-camera/294753/1 "2014-09-28T00:27:55Z")

</div>

Hey, I am currently confused on the simplest way to implement a RTS camera, that pans around when the cursor is at the edges of the screen.

---

<div class="post-metadata">

**Author:** ![RPotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RPotter](https://forums.unrealengine.com/u/RPotter)\
**Post date:** [September 28, 2014, 3:07am UTC](https://forums.unrealengine.com/t/how-should-i-go-about-implementing-a-simple-rts-style-camera/294753/2 "2014-09-28T03:07:43Z")

</div>

The best starting point I can think of is to look at the Strategy Game sample on the Marketplace. It utilizes exactly the sort of camera that you’d want.

The class to look at in there is StrategyPlayerController.

Here’s the docs page for the sample.

[https://docs.unrealengine.com/latest/INT/Resources/SampleGames/StrategyGame/index.html](https://docs.unrealengine.com/latest/INT/Resources/SampleGames/StrategyGame/index.html)
