{"is-c3-clipboard-data":true,"type":"events","items":[{"eventType":"block","conditions":[{"id":"for-each-element","objectClass":"Array","parameters":{"axes":"xy"}}],"actions":[],"children":[{"eventType":"variable","name":"saved","type":"number","initialValue":"0","comment":"","isStatic":false,"isConstant":false},{"eventType":"block","conditions":[{"id":"compare-current-value","objectClass":"Array","parameters":{"comparison":0,"value":"4"}}],"actions":[],"children":[{"eventType":"block","conditions":[{"id":"while","objectClass":"System"},{"id":"compare-at-xy","objectClass":"Array","parameters":{"x":"Array.CurX+saved","y":"Array.CurY","comparison":0,"value":"4"}}],"actions":[{"id":"add-to-eventvar","objectClass":"System","parameters":{"variable":"saved","value":"1"}}],"children":[{"eventType":"block","conditions":[{"id":"compare-at-xy","objectClass":"Array","parameters":{"x":"Array.CurX+saved","y":"Array.CurY","comparison":1,"value":"4"}}],"actions":[{"id":"stop-loop","objectClass":"System"},{"id":"create-object","objectClass":"System","parameters":{"object-to-create":"Tilemap","layer":"0","x":"0","y":"0","create-hierarchy":false,"template-name":"\"\""}},{"id":"set-width","objectClass":"Tilemap","parameters":{"width":"saved-Array.CurX"}}]}]}]}]}]}
oof. i hate this. but thats the code to check so far. 2 events for all that... only items are tilemap and array. if you want to see what im thinking. need to loop here