# ACharacter, PlayerInputComponent, and PlayerController

**URL:** <https://forums.unrealengine.com/t/acharacter-playerinputcomponent-and-playercontroller/127442>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [June 13, 2019, 10:54am UTC](https://forums.unrealengine.com/t/acharacter-playerinputcomponent-and-playercontroller/127442 "2019-06-13T10:54:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Travis.D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Travis.D](https://forums.unrealengine.com/u/Travis.D)\
**Post date:** [June 13, 2019, 10:54am UTC](https://forums.unrealengine.com/t/acharacter-playerinputcomponent-and-playercontroller/127442/1 "2019-06-13T10:54:00Z")

</div>

I’m just working through the example project setup here:  
[https://docs.unrealengine.com/en-US/Programming/Tutorials/FirstPersonShooter/2/3/index.html](https://docs.unrealengine.com/en-US/Programming/Tutorials/FirstPersonShooter/2/3/index.html)

This says to use an ACharacter C++ class, and handle inputs with a Player Input Component. Where does PlayerController come into it? Is it a choice of either/or? I was under the impression PlayerController would handle player inputs…

Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![Yata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yata](https://forums.unrealengine.com/u/Yata)\
**Post date:** [June 13, 2019, 12:25pm UTC](https://forums.unrealengine.com/t/acharacter-playerinputcomponent-and-playercontroller/127442/2 "2019-06-13T12:25:16Z")

</div>

That depends. In single “pawn” game, I’d prefer to process inputs in PlayerController. But now I am considering.

Actually, as a player, depending on game you are making, you can possess different Pawns. Sort of - posess character to walk around, possess car - to drive around. In that case it is better to process player inputs in Pawm, because you will have automatic input scheme switch.

What PlayerController should do - is handle some generic input - like menues etc. but i’d prefer to handle them in HUD if that is possible.

---

<div class="post-metadata">

**Author:** ![Travis.D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Travis.D](https://forums.unrealengine.com/u/Travis.D)\
**Post date:** [June 13, 2019, 12:40pm UTC](https://forums.unrealengine.com/t/acharacter-playerinputcomponent-and-playercontroller/127442/3 "2019-06-13T12:40:05Z")

</div>

Thanks Yata. I didn’t realise you could double-up like that.
