Screenshot and DirectFrame

Hi !

I’m trying to take a screenshot of a DirectFrame.
How can I do that?


Of just a DirectFrame? I don’t think you can, directly. You can make a DisplayRegion with the dimensions you’d like, and then call getScreenshot() on that, which will make a screenshot of that region of the window. (Anything that’s in front will also be included.)

Exactly what I was looking for, thank you :slight_smile: