I added a "get screenshot" function to my game. When I'm previewing it in Mozilla and click the button to get the screenshot, it opens a new window that is completely black. After that when I click on the screenshot button it lets me open it in Paint. Am I missing something here? Here's my code:
On tap "Text2" System take snapshot of canvas
Function: call CanvasSnapshot()
Browser: invoke download of CanvasSnapshot with filename "Answers"