Changing material from a scene component

I am new to Unreal Engine and I am trying to change the material of a certain component of my actor. Once the handle is overlapped I wish to change the material of the Door_Test (BP_DoorTest). In the picture of the level blueprint I am only able from the for each loop to have access to the Door_Cube and not the cube1. I wish to change the material of the cube1 and not the Door_Cube itself. How can I have access to the correct component?

I was able to fix my problem. I simply add Actors tags and Components tags. With the blueprint I get all the actors with the matching tag and then get all the components with the specific tag.