Play in selected viewport function with C++

Hello! I need to add a custom blueprint callable function in UE that’ll start play in selected viewport (meaning level editor viewport as default) for the tool I’m making.

I’ve tried a lot of things, but the only results I get is start to play in separate window that just doesn’t work for me.

Any ideas? You’ll make my day if you’ve got a solution.