|  Developer
Updated on May 6, 2022

isButtonState

This events arises when the of button_state item is equal to the is set in this when block. The Button Actions describe the possible values of this item.
Edit
Field Type Required Description
blockOptions.method.args.item string + Argument declaration of item ID. The value should be in block with name.
blockOptions.method.args.value string + Argument declaration of item button_state. The value should be in block with name.
Edit
				
					"when" : [{
   "blockOptions":{
      "method":{
         "args":{
            "item":"item",
            "value":"value"
         },
         "name":"isButtonState"
      }
   },
   "blockType":"when",
   "fields":[
      {
          "name":"item",
          "type":"item",
          "value" : "5e0218ea7f00003636b60dc8"
      },
      {
          "name":"value",
          "type":"token",
          "value":"released"
      }
   ]
}]