# Get raw keydown bool status?

**URL:** <https://forums.unrealengine.com/t/get-raw-keydown-bool-status/778673>\
**Category:** C++\
**Tags:** unreal-engine, mouse-event, question\
**Created:** [February 26, 2023, 12:06am UTC](https://forums.unrealengine.com/t/get-raw-keydown-bool-status/778673 "2023-02-26T00:06:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manking-1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Manking-1](https://forums.unrealengine.com/u/Manking-1)\
**Post date:** [February 26, 2023, 12:06am UTC](https://forums.unrealengine.com/t/get-raw-keydown-bool-status/778673/1 "2023-02-26T00:06:00Z")

</div>

Hello!  
How do I get the raw key down event?

There is a function that determines whether Shift is pressed.  
IsShiftDown in UnrealClient.h

Is there a similar one for mouse and keyboard events?  
Where can I pass the eKeys::RightMouseButton argument to  
and get bool return result is pressed?

Maybe this?  
GEngine-\>GameViewport-\>Viewport-\>GetClient()-\>InputKey()
