# What is the best way to implement input in the gameplay abilities system?

**URL:** <https://forums.unrealengine.com/t/what-is-the-best-way-to-implement-input-in-the-gameplay-abilities-system/869411>\
**Category:** C++\
**Tags:** unreal-engine, Gameplay-Ability-System, CPP, question\
**Created:** [April 7, 2023, 6:36am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-implement-input-in-the-gameplay-abilities-system/869411 "2023-04-07T06:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [April 7, 2023, 6:36am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-implement-input-in-the-gameplay-abilities-system/869411/1 "2023-04-07T06:36:04Z")

</div>

I’m trying to learn GAS for a cross-platform game, and the one thing I’ve been struggling with is inputs. Lyra, [the un-official GAS documentation](https://github.com/tranek/GASDocumentation), and [this course that many have recommended](https://www.udemy.com/course/advanced-unreal-engine-5-multiplayer-gameplay-programming/) all handle their input in very different ways.

Does anyone have any advice for what the “best” way to handle input with GAS is?

---

<div class="post-metadata">

**Author:** ![WillmsiasTheMad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillmsiasTheMad](https://forums.unrealengine.com/u/WillmsiasTheMad)\
**Post date:** [April 7, 2023, 11:08pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-implement-input-in-the-gameplay-abilities-system/869411/2 "2023-04-07T23:08:42Z")

</div>

There is no “best”. Try to define the input system you want first (ex: legacy input vs Enhanced Input), then determine how to hook that into GAS.

---

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [April 12, 2023, 3:40am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-implement-input-in-the-gameplay-abilities-system/869411/3 "2023-04-12T03:40:35Z")

</div>

Well with UE5, enhanced input is really the only way you should be implementing input as far as I know. But with GAS, there are several ways to implement input, and I can’t find anyone explaining the differences/benefits of each. I believe that you can use input actions, events, or tags for input, but I am not sure how each one is unique or when you should be using them.
