Any Object implementing an Interface as parameter

Already tried every form of


TScriptInterface<IMyInterface>

I can think of. None working so far.

That’s not what I want to do. I want to return an object implementing an interface. But I could achieve what I want without returning it, but I still need to pass my object to the function.