The trick is to Simulate a Keyboard Press K event inside Editor Utility Widget. For that you need to set Focus to the Keyboard and to the widget using Widget Interaction.
…you have no idea how long I have been looking for this!
THANK YOU!!!
I spent many weeks developing my own spawning system and it works perfectly except for the 1 small issue of that you must be either playing in editor or need to hit simulate. The key I was missing was the trick you mention. Using a key binding to K was something I previously was trying to accomplish with a custom blueprint library function and my own c++ code. I could not get it to compile thou.
So glad that it seems many Ue dev’s have like minds and are happy to share solutions.
It is so small but this made my day, thanks again!!