Creating a dynamic interaction menu

I’m attempting to create an interaction menu that line traces the returning object and provides a menu with actions to do with it. An example may be: player looks at a door, small interaction menu pops up with options like “open”, “lock”, “picklock”, “knock down”. I have a “quick” interaction system already made using an interface which I want to have alongside the interaction menu.

Player:


Interactable Object (in this case a door):


My only idea of how to accomplish this would be to use an interface and somehow use some sort of enum. I’m assuming dynamically binding the button clicks to the door blueprint (example object). A function for each action such as Unlock, Lock, Lockpick, etc. Would really appreciate any examples/help.