How do I get an image of the frame layer only?

Hi all.

I would like to know the API to get an image of the frame layer only, not including the children.
※exportAsync() is not supposed to be used because the image includes children as well.

Remove all children temporarily.

2 Likes

Thanks Gleb.

Very good idea.
But I can’t remove it, so I’ll just hide it.