# Can I use the widget interaction component on a button in a blueprint, not a widget?

**URL:** <https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710>\
**Category:** Blueprint\
**Tags:** interaction, Motion-Controller, unreal-engine, Widget, Blueprint, question\
**Created:** [January 2, 2024, 1:12pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710 "2024-01-02T13:12:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JemJem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jemjem/32/869636_2.png) [@JemJem](https://forums.unrealengine.com/u/JemJem)\
**Post date:** [January 2, 2024, 1:12pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710/1 "2024-01-02T13:12:25Z")

</div>

I made some buttons within a blueprint and am trying to add movement to them when clicked, but can’t seem to get them functioning. I used the widget interaction component to connect my left click to my VR motion controller, and it worked when interacting with widgets. How can I connect the same button to to a button within a blueprint that isn’t a widget?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 2, 2024, 1:34pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710/2 "2024-01-02T13:34:28Z")

</div>

> [@JemJem](#):
>
> to a button within a blueprint that isn’t a widget

If the button is not a widget, then what is it? A static mesh? As the name suggests, the Widget Interaction Component is to be used with widgets. When not dealing with widgets, a much more simplified line trace can be used instead.

---

<div class="post-metadata">

**Author:** ![JemJem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jemjem/32/869636_2.png) [@JemJem](https://forums.unrealengine.com/u/JemJem)\
**Post date:** [January 2, 2024, 1:40pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710/3 "2024-01-02T13:40:01Z")

</div>

Yes it is a static mesh. Is there a way to make the static mesh interact with the VR controllers? I was able to interact with it on overlap, but would like it to interact when being clicked.

 ![I_Elevator 2024_01_02 22_37_43](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/3/9d39c56351d76297a88e2b44ca2b99f49e674b31.png)  
 ![I_Elevator 2024_01_02 22_35_52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/2/f228aa471d817df1f130f29e20edcff35a560801.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 2, 2024, 1:40pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710/4 "2024-01-02T13:40:54Z")

</div>

> [@JemJem](#):
>
> Is there a way to make the static mesh interact with the VR controllers? I was able to interact with it on overlap, but would like it to interact when being clicked.

Line trace. That’s what Widget Interaction Component does under the hood anyway (among other things).

That’s the Hit Component:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/2/9522de8c13fede55018e2e40313962986ce1f007.png)

---

<div class="post-metadata">

**Author:** ![JemJem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jemjem/32/869636_2.png) [@JemJem](https://forums.unrealengine.com/u/JemJem)\
**Post date:** [January 2, 2024, 1:50pm UTC](https://forums.unrealengine.com/t/can-i-use-the-widget-interaction-component-on-a-button-in-a-blueprint-not-a-widget/1581710/5 "2024-01-02T13:50:41Z")

</div>

Thank you. I’ve never used it before. I’ll give it a try.^^
