# Executing commands in VR preview

**URL:** <https://forums.unrealengine.com/t/executing-commands-in-vr-preview/434127>\
**Category:** XR Development\
**Tags:** Console, console-commands, Vive, unreal-engine, question, execute-command\
**Created:** [September 20, 2018, 7:43am UTC](https://forums.unrealengine.com/t/executing-commands-in-vr-preview/434127 "2018-09-20T07:43:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suprime12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@suprime12](https://forums.unrealengine.com/u/suprime12)\
**Post date:** [September 20, 2018, 7:43am UTC](https://forums.unrealengine.com/t/executing-commands-in-vr-preview/434127/1 "2018-09-20T07:43:57Z")

</div>

Hello

i am trying to execute console commands from the console in vr preview. For some reason it doesn’t execute the commands. I have typed for example “Stat FPS” and it didn’t show up in vr preview (It did in the editor and in the first person template when not using HMD). I am using HTC vive.

Thank you.

---

<div class="post-metadata">

**Author:** ![Dovlahkin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dovlahkin](https://forums.unrealengine.com/u/Dovlahkin)\
**Post date:** [September 25, 2018, 12:21am UTC](https://forums.unrealengine.com/t/executing-commands-in-vr-preview/434127/2 "2018-09-25T00:21:03Z")

</div>

I had this same problem and instead of typing them down in console, I made a simple blueprint in level blueprint where I bound execute console command to a certain keyboard event. For example:

![254638-capture3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/3/803b8a846bc84423a8d8d7858cee78b69ec12dea.png)

---

<div class="post-metadata">

**Author:** ![suprime12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@suprime12](https://forums.unrealengine.com/u/suprime12)\
**Post date:** [September 27, 2018, 8:30am UTC](https://forums.unrealengine.com/t/executing-commands-in-vr-preview/434127/3 "2018-09-27T08:30:49Z")

</div>

sorry but it didn’t help. My co workers say it has something to do with the resolution of the Vive.
