User defined widget not trigging events

I created a c++ class inheriting from UserWidget and I got a object that is suppose to have an instance of this widget. However to be able to get acces to the widget I’m using TSubClassOf. The problem is that the widget doesn’t trigger any events and I need it to check for input.

Solved it!
Didn’t realize that the TSubClassOf was a reference of a class and not an instance. Created an instance based on the class reference and now everything works just fine.