# VR - Can't interact with 3D widget with the left motion controller

**URL:** <https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193>\
**Category:** XR Development\
**Tags:** bug, interaction, Motion-Controller, unreal-engine, Widget, question\
**Created:** [June 15, 2017, 2:02pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193 "2017-06-15T14:02:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hidar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hidar](https://forums.unrealengine.com/u/Hidar)\
**Post date:** [June 15, 2017, 2:02pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/1 "2017-06-15T14:02:37Z")

</div>

Hello!,

I have a problem in my VR scene, i have two motion controller and i created a 3d widget in my scene with a button with a number that increases when clicked . The button work perfectly with the right controller but when i click on it with the left, my blueprint detect the click but the number does not increase. And it’s like the left controller doesn’t exist because when i aim the button, the button it’s not hover.

I don’t know what is the problem, i do the same things like the function grab on the blueprint.

I think the problem come to the sort of raycast/linetrace by the left controller because when i aim the button with the right controller and click with the left controller the number increase, so i don’t think it’s a blueprint problem.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![matty\_matt\_mattmatt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matty\_matt\_mattmatt](https://forums.unrealengine.com/u/matty_matt_mattmatt)\
**Post date:** [June 21, 2017, 3:21pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/2 "2017-06-21T15:21:19Z")

</div>

Hey Friend,  
refer to my image, somehow you need to change you second widget interactions ‘virtual user index’ to a different number compared to the other widget interaction in the other hand. The way I have it in my image works for me but looks as if you are doing it slightly different but good luck.

 ![190991-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/7/067f5badcd25ba140392ecd31ed8a85635b681df.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0de4ec12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0de4ec12](https://forums.unrealengine.com/u/anonymous_user_0de4ec12)\
**Post date:** [June 27, 2017, 9:34am UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/3 "2017-06-27T09:34:27Z")

</div>

thats right, but when you use the VRTemplate the left controller is “spawned” at event begin play so you cant attach something on the components tab.  
The WidgetInteraction will be on both motion controllers and even hover and click works but when you click with the left motion controller, its like the event does not get fired.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0de4ec12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0de4ec12](https://forums.unrealengine.com/u/anonymous_user_0de4ec12)\
**Post date:** [June 27, 2017, 11:31am UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/4 "2017-06-27T11:31:34Z")

</div>

I found the solution, a friend got the same problem and its a bug… on the menu just use “on pressed” not “on klicked” works for me 🙂

---

<div class="post-metadata">

**Author:** ![Hidar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hidar](https://forums.unrealengine.com/u/Hidar)\
**Post date:** [July 4, 2017, 7:16am UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/5 "2017-07-04T07:16:04Z")

</div>

Hi guys, thanks for the reply but it’s doesn’t work for me.

My problem is when I aim the widget with the left controller it’s like the raycast bug and i need to spam my button for interact with the widget. I don’t know why because it’s works perfectly with the right controller and i did the same for both.

---

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [September 5, 2018, 9:05pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/6 "2018-09-05T21:05:30Z")

</div>

You have to set **both** `Virtual User Index` and `Pointer Index` to 1.

If you’re using the VR template, put this in Begin Play (that’s a collapsed node). Leave the default values at 0.

 ![252867-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/d/82dc15fc4c5d9acbc2143b51ab0d2f3e08b3765d.jpeg)

---

<div class="post-metadata">

**Author:** ![anon55348953](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon55348953](https://forums.unrealengine.com/u/anon55348953)\
**Post date:** [October 24, 2018, 7:34am UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/7 "2018-10-24T07:34:53Z")

</div>

I tested this and it’s sufficient to only set the Pointer Index to a different number on the right controller

---

<div class="post-metadata">

**Author:** ![BiggusDiggus666](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiggusDiggus666](https://forums.unrealengine.com/u/BiggusDiggus666)\
**Post date:** [April 23, 2019, 6:09pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/8 "2019-04-23T18:09:11Z")

</div>

yes, that’s a step. Also, if your trigger of the left controller can’t work without the right pointer, you need to uncheck “consume input” on the “MotionController (X) Trigger” nodes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4ddb13c5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4ddb13c5](https://forums.unrealengine.com/u/anonymous_user_4ddb13c5)\
**Post date:** [June 15, 2022, 3:12pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/9 "2022-06-15T15:12:15Z")

</div>

That worked for me perfectly, thanks!

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [June 15, 2022, 7:55pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/10 "2022-06-15T19:55:57Z")

</div>

This is not necessary as WidgetInteractionRight on VRPawn in the VRTemplate already has the Pointer Index set to 1, there’s no need to set it again unless you’ve modified it. Each Widget Interaction Component needs its own Pointer Index, and each player can have Left = 0, Right = 1. However, the Virtual User Index has to be unique _for each player_, and should be the same for each Widget Interaction Component that belongs to that player.

---

<div class="post-metadata">

**Author:** ![Bevman00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bevman00](https://forums.unrealengine.com/u/Bevman00)\
**Post date:** [June 15, 2022, 11:13pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/11 "2022-06-15T23:13:32Z")

</div>

> [@VictorLerp](#):
>
> the Virtual User Index has to be unique _for each player_

Do we need to set this whenever a new player spawns in the server?

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [June 16, 2022, 5:26pm UTC](https://forums.unrealengine.com/t/vr-cant-interact-with-3d-widget-with-the-left-motion-controller/396193/12 "2022-06-16T17:26:50Z")

</div>

Yeah, even if the Widget Interaction Components only exist on the owning client the Virtual User Index has to be unique for each player
