# Can't get widget reference out of macro component

**URL:** <https://forums.unrealengine.com/t/cant-get-widget-reference-out-of-macro-component/2280475>\
**Category:** Blueprint\
**Tags:** macro-library, unreal-engine, Widget, Blueprint\
**Created:** [January 16, 2025, 3:21pm UTC](https://forums.unrealengine.com/t/cant-get-widget-reference-out-of-macro-component/2280475 "2025-01-16T15:21:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lhydroza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lhydroza](https://forums.unrealengine.com/u/Lhydroza)\
**Post date:** [January 16, 2025, 3:21pm UTC](https://forums.unrealengine.com/t/cant-get-widget-reference-out-of-macro-component/2280475/1 "2025-01-16T15:21:11Z")

</div>

Hello everyone,  
Here is my issue, i am trying to get a widget reference out to display a UI “Interract” on the screen.  
The issue is nothing get out of my loop, and it always end up failing whenever i put in the “Widget class” a User widget, which is the type i need.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/1/bb149410778acc1bcd29767ba33d9916f6d39806.png)

This always fail even with a long delay and then i get nothing out of this in my component

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/1/bb149410778acc1bcd29767ba33d9916f6d39806.png)

So in the end i get an error “none variable” cause it is not able to set my widget variable that i want to call later on.

I’ve try to fix it but it always come back to the same issue, the macro isn’t working as i want it to.

Thank you in advance
