How do i add an editor outline to my own editor

I have been creating my own editor plugin in UE5 but I can’t figure out how to add the orange outline from the default editor. Does anyone have any information about the topic?

One way is an outline shader combined with a stencil post process