Coding Question: How can I create a 'Take screenshot" button

were you able to find a solution because i have the same query