Is there a way to destroy everything attached to a socket?

At first, i promoted them into variables and deleted the setter you get when you promote a variable due to misconception that I won’t need that setter anymore. I fixed it now though and it is working properly now. I could use the get children component as you did, but I have multiple actors attached to the same parent which I don’t want destroyed (I have the main body which has sockets for barrel, scope, magazine, and body cover). Since I want to swap only scopes at a time, and not destroy all other actors namely barrel, magazine etc… I wanted to know if it was possible to destroy all components attached to the particular socket. Now I’m using the below method to destroy them, though I don’t think it is efficient.

And here is the variables promoted