What I want to achieve is a system where I can drop for example 4 bananas and 2 watermelons inside an invisible part, and I can then use a function to count and return/print each part type and number individually.
Output e.g
4 bananas
2 watermelons
For the part type, I have an attribute in each part containing a string.
But well, I don’t actually know how I could do this. ( I don’t know if this topic has been covered, I just can’t find it )
Even if you know only how to detect if a part is inside another part, that would help!
If you know how to achieve this, please give me feedback
Thanks!