# Attach a lot of component items to a single component

**URL:** <https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651>\
**Category:** Asset Creation\
**Tags:** socket, attach-to-component, unreal-engine, question\
**Created:** [March 14, 2024, 11:04pm UTC](https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651 "2024-03-14T23:04:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Jolly01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/the_jolly01/32/485681_2.png) [@The\_Jolly01](https://forums.unrealengine.com/u/The_Jolly01)\
**Post date:** [March 14, 2024, 11:04pm UTC](https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651/1 "2024-03-14T23:04:34Z")

</div>

Hello everyone,  
I would like to create shelves in which to put my products that would be arranged in a certain way depending on the product. With the attach to component method I would be able to do what I want but having many different types of products I would have to create too many sockets. Also I noticed that I can’t multiselect them and copy them all together so it would be a big problem. Another probable problem would be the multitude of sockets I would be going to create which would make everything unintelligible, not being able to create groups of sockets and not being able to hide them. Would you know if there is any other solution for this problem?

To give you a better understanding I am attaching a picture of my idea and the problems that all the sockets would generate.

 ![Screenshot 2024-03-15 000326](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/f/def34eec54a27c04e1b0db5d99fe4f8174a6b5f0.jpeg)

Thanks!

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [March 14, 2024, 11:23pm UTC](https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651/2 "2024-03-14T23:23:00Z")

</div>

Hi The\_Jolly01,

Having that many components and sockets will end up slowing everything down - components are quite a burden on UE.

I made a system to place things like that in rdBPtools/rdInst - they can randomize them too so they’re always different (or set with a random seed) - here’s a tutorial:

> **[rdBPtools Tutorial 3 - Recourse Design ltd.](https://recourse.nz/index.php/rdBPtools-tutorial-3/)**
>
> rdBPtools Tutorial 3 – Adding Random Transforms and Reliance Last Updated: 25th October 2022 This tutorial uses the second Blueprint type included with the plugin. Using this Blueprint allows you to randomize every asset included in it – from it’s...

---

<div class="post-metadata">

**Author:** ![The\_Jolly01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/the_jolly01/32/485681_2.png) [@The\_Jolly01](https://forums.unrealengine.com/u/The_Jolly01)\
**Post date:** [March 15, 2024, 12:12am UTC](https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651/3 "2024-03-15T00:12:46Z")

</div>

Thank you for your reply, maybe I expressed myself wrongly. I want it to be possible to put different objects that the player can decide that also have different sizes.

If I choose that a shelf should only have chips then it sets me the right socket to fit all the chips correctly, but if I want to put something on it that takes up more or less space I have to be able to do that. Like having as many sockets for each product that are different based precisely on the product.

I already know how to implement everything and have it recognize which product I’m putting in etc., but I don’t know how to make it so many sockets without actually having to create them all one by one.

I hope now you understand my problem better.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [March 15, 2024, 1:47am UTC](https://forums.unrealengine.com/t/attach-a-lot-of-component-items-to-a-single-component/1752651/4 "2024-03-15T01:47:24Z")

</div>

I see what you mean - perhaps a simpler way to do it would be to do a linetrace on the shelf to find the last placed object and calculate the position of the object to be placed from that?
