# How do you create custom editor keybindings?

**URL:** <https://forums.unrealengine.com/t/how-do-you-create-custom-editor-keybindings/449415>\
**Category:** Mobile\
**Tags:** screen-position, keybindings, editor-viewports, unreal-engine, editor, question\
**Created:** [May 22, 2019, 5:54pm UTC](https://forums.unrealengine.com/t/how-do-you-create-custom-editor-keybindings/449415 "2019-05-22T17:54:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2019, 5:54pm UTC](https://forums.unrealengine.com/t/how-do-you-create-custom-editor-keybindings/449415/1 "2019-05-22T17:54:29Z")

</div>

Hello!

I would like some guidance on how you would set up custom keybindings for the editor, if that is possible.

What i want to do is detect when i press the custom keybinding while hovering the mouse over the editor viewport, and from that key press event i want to do a line trace from the mouse screen position into the world to see which actor is being hovered and do something with that actor.

I’m fine with it being in code.

Thanks!
