sorry, i think the problem is that i dont know what my problem is. Let me make it more clear:
1. Page loads: a custom Action initializes a HTML Canvas
2. the user can draw on that canvas
3. when the user presses the "download" button it should download the drawn image
so far this works! All within one action.. the js script generates the downloadbutton, all good.
my problem now is that i want the script to set a Variable inside toddle once the download button is hit. The Value of this needs to be the Blob of the drawn image.
Maybe my setup is incorrect, but i dont know how to do it better..