Namespacesiconsblockly.icons_namespace.icon_class.getsourceblock_methodOn this pageblockly > icons > Icon > getSourceBlock icons.Icon.getSourceBlock() method Returns the block that this icon is attached to. Signature: getSourceBlock(): Block; Returns: Block The block this icon is attached to.