How to take a screenshot including UI only using Blueprint?

Will this work without needing to compile my project? That’s the primary thing I’m trying to avoid is needing to compile the project. If I can just write this outside of UE and import it then that would actually work really well!