Create actor directly from objects in scene

Hello everyone,

I’m looking for some guidance on how to create an Actor from a Static Mesh (for example) in the scene using a right-click context menu. I want to extend the editor functionality to allow me to select a Static Mesh and convert it into an Actor that utilizes that mesh.

I think I have to go through Editor Utility Widgets or Editor Blueprints, but I am unsure about the specific steps to implement this feature. Could someone provide a detailed approach or point me in the right direction? Any examples or resources would be greatly appreciated!

Thank you for your help!