You still have F implement in the lever, right? Input goes into the player BP, not into the interactive item. Think about it - do you really want to put input script inside hundreds of items?
Could you briefly explain how it’s supposed to work?
• the player walks around and sees a lever
• we get close to it, press F, the lever animates one way
• we press F and the lever goes the other way
• what is the role of the widget? who owns the widget, the player or the lever? Is it just an interaction prompt?
Am I close? If so, any Interface tutorial covers this, one of the most common interactions. My suggestion is to double down and try it again. Once you wrap you mind around it, there will be no looking back.
Let’s say you don’t and manage to hack around this problem, can be done and will work for now. You will be immediately stuck on the next thing as now you will also want to interact with something else. But now it’s harder because the lever is allowed to fiddle with input.
Interface is by no means an answer to everything, but it’s an indispensable tool.