# How can I send a Key \[RightArrow\] to a WebBrowser Widget?

**URL:** <https://forums.unrealengine.com/t/how-can-i-send-a-key-rightarrow-to-a-webbrowser-widget/449296>\
**Category:** Blueprint\
**Tags:** webbrowser, unreal-engine, UE4, question, Blueprint, key-bind\
**Created:** [May 20, 2019, 4:26pm UTC](https://forums.unrealengine.com/t/how-can-i-send-a-key-rightarrow-to-a-webbrowser-widget/449296 "2019-05-20T16:26:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Weltenretter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Weltenretter](https://forums.unrealengine.com/u/Weltenretter)\
**Post date:** [May 20, 2019, 4:26pm UTC](https://forums.unrealengine.com/t/how-can-i-send-a-key-rightarrow-to-a-webbrowser-widget/449296/1 "2019-05-20T16:26:25Z")

</div>

Hello.

I have a web based Application I want to run inside the Unreal Engine in Virtual Reality. This Application reacts to the Keys [LeftArrow] and [RightArrow].

As you can see below I have two Buttons and a WebBrowser Window setup in VR. I want my then working webpage to recive a [LeftArrow] respectivly [RightArrow] key when I press one of those Buttons in VR.

 ![277449-buttonsandbrowser.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/2/4d25d45af071370df48ff83c0abdb96d889fe995.jpeg)

**How can I achieve this?**

This is waht the buttons currently call once pressed.

 ![277450-keypressbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/f/21faa68f36d418833884826c162fe1dcb6ac3d40.jpeg)

The Press Key sends the key I set for the button in the editor to the Widget Interaction Component I added to my WebBrowser Widget Container.

![277461-browserframecontent.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/f/0ff13291f0cf1cda803551d3c159ebf7ddc7ed10.jpeg)

But this Interaction Component dosnt seem to affect the Browser and maybe because it has no destination.

**So the question remains how can I send Buttons to the WebBrowser?**

---

<div class="post-metadata">

**Author:** ![Razivoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Razivoid](https://forums.unrealengine.com/u/Razivoid)\
**Post date:** [March 6, 2020, 7:08pm UTC](https://forums.unrealengine.com/t/how-can-i-send-a-key-rightarrow-to-a-webbrowser-widget/449296/2 "2020-03-06T19:08:16Z")

</div>

![297409-ue4-key.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/f/a7f630a73c25b4b99e78b66fae61a85b0ffcd5fb.png)

You have to attach the component to the widget and set the Virtual User Index to a different value.

Don’t think you’ll need to disable Hit Testing but try it if no luck.
