# Can you simulate a keypress in blueprints?

**URL:** <https://forums.unrealengine.com/t/can-you-simulate-a-keypress-in-blueprints/401900>\
**Category:** Blueprint\
**Tags:** simulate, unreal-engine, question, Blueprint\
**Created:** [August 13, 2017, 5:11am UTC](https://forums.unrealengine.com/t/can-you-simulate-a-keypress-in-blueprints/401900 "2017-08-13T05:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f6530a3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f6530a3e1](https://forums.unrealengine.com/u/anonymous_user_f6530a3e1)\
**Post date:** [August 13, 2017, 5:11am UTC](https://forums.unrealengine.com/t/can-you-simulate-a-keypress-in-blueprints/401900/1 "2017-08-13T05:11:06Z")

</div>

I’m trying to work on modding an existing game. I have access to Blueprints, but none of the underlying c++ classes. Unfortunately some of the behavior in the game is not exposed to blueprints, so things like reloading, sprinting etc.

My only solution is to simulate a keypress to trigger the relevant events. For example I would like to create a reload function that basically fakes the “r” key being pressed.

Is there a way to do this? Can you trigger events manually?
