# "Focus Selected" Keybind Hardcoded in Persona

**URL:** <https://forums.unrealengine.com/t/focus-selected-keybind-hardcoded-in-persona/342028>\
**Category:** Character & Animation\
**Tags:** keybindings, unreal-engine, bug-report, question\
**Created:** [December 20, 2015, 10:40pm UTC](https://forums.unrealengine.com/t/focus-selected-keybind-hardcoded-in-persona/342028 "2015-12-20T22:40:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b31d2ec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b31d2ec](https://forums.unrealengine.com/u/anonymous_user_7b31d2ec)\
**Post date:** [December 20, 2015, 10:40pm UTC](https://forums.unrealengine.com/t/focus-selected-keybind-hardcoded-in-persona/342028/1 "2015-12-20T22:40:10Z")

</div>

**Steps Taken to Reproduce Bug**

1. In _Edit → Editor Preferences → Level Editor → Viewports → Controls → Flight Camera Control Type_, choose “Use WASD for Camera Controls”.
2. Change keyboard shortcuts in editor preferences such that **ESDF** is used instead of **WASD** for camera movement. Change the conflicting “Focus Selected” keybind from **F** to **CTRL+F**.
3. In the normal editor viewport, **ESDF** can now be used to control the camera, and **CTRL+F** will focus on a selected object. This is expected behavior.
4. Open any asset which uses Persona. (e.g: a asset)
5. Within the Persona viewport, **ESD** is used to move up, left, and down, respectively. However, pressing the **F** key will focus on the selected bone or figure. Holding the **F** key will eventually pan the camera right.

**Expected Result**

Persona should use the keyboard shortcuts specified in the editor preferences.

With the settings specified above, the **F** key should pan right, and **CTRL+F** should be used to focus on a selected bone.

**Notes**

This bug also occurs when the option to “Use WASD only when a mouse button is pressed” is selected. Even when _Flight Camera Control Type_ is set to “Never Use WASD for Camera Controls”, the Focus Selected keybind preference is ignored and the hardcoded **F** key is used instead.

This bug was reproduced in version _4.10.1_, but is likely to be present in previous versions.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [December 22, 2015, 9:57pm UTC](https://forums.unrealengine.com/t/focus-selected-keybind-hardcoded-in-persona/342028/2 "2015-12-22T21:57:05Z")

</div>

Hi Eevi,

Thanks for reporting this. I’ve entered the bug in our system as UE-24755. Unfortunately we don’t have a workaround for you at this time.

-.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b31d2ec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b31d2ec](https://forums.unrealengine.com/u/anonymous_user_7b31d2ec)\
**Post date:** [December 23, 2015, 12:27am UTC](https://forums.unrealengine.com/t/focus-selected-keybind-hardcoded-in-persona/342028/3 "2015-12-23T00:27:32Z")

</div>

No worries; main intent was to get the bug in the system.

I’m already using my own “workaround”, but it involves downloading the source code, finding Editor/Persona/Private/AnimationEditorViewportClient.h and changing line 1701…
