Look for the purple block you create a component. It has a green “component” block. This block is a link to the created component. Do you understand that? If Yes, you can attach this block to a variable and then the variable will contain a reference to this component. This means that you can insert this variable into the block to delete the component -