The define script tells a custom block what to do:
If your block has inputs, they will appear as rounded, light purple blocks. To use them, drag copies of the input blocks into other blocks within the define script.
Note: The input blocks can only be used in the define script.