Can you get widget with widget interaction component?

Sorry, I meant widget object, not widget class.
I have no code to show yet. I think I can achieve what I need with just “Press Pointer Key”. I think I wasn’t understanding correctly what the widget interaction component actually does.
Thanks for the help.