Shadow Blocks in JSON

Ah yeah, the toolbox docs should be updated to include info about shadow blocks (in XML and in JSON) :/ I’ll put that on the list of things to fix!

You can specify shadow blocks by taking adding a `shadow` property to the input struct:

“`json

      {
        “type”: “text_print”,
        “inputs”: {
          “TEXT”: {
            “shadow”: {  // This is the important bit!
              “type”: “text”,  // The rest is just a normal block definition
              “fields”: {
                “TEXT”: “abc”
              }
            }
          }
        }
      }

“`

I hope that helps! If you have any further questions please reply =)

–Beka

Read more here: Source link