It's really quite simple if you break it down into the component parts ..I think what you are really asking is.."Could someone make this for me because I cant be bothered"
First of all, aside from your greeting, you made 3 statements and asked 2 questions in relation to those 3 Statements...I'm going to Ignore Rookie Devs statements as his comments really did nothing at all to add to a solution...
The First part is easy..your question said Quote
"I am trying to create a scrollable set of slots on my inventory layer pinned to my custom menu."
Your question was "How would i attach such a thing?"
First of all you NEVER NEED TO attach objects to other objects in order to change their visibility on screen..
But if you want to change the visibility or any other behaviour of a group of objects you want to read up on FAMILIES..
Keeping in mind that FAMILIES only group together similar objects
like TEXT,Sprites or Particles for example but not together in the same group
ONLY similar objects can be in the same Family..for example:
A Family of 'TEXT' objects that describe your Inventory items
A family of 'Sprites' that display your Inventory items visual appearance
So a little pre-planning should sort that out any problems there for you..
Now I'm going to presume you already have made your scrolling slots because you didn't say that you hadn't, rather you only asked about how to attach it somehow it to your custom menu so as to allow it to be Hidden at the same time as your custom menu..
So the easy Answer there is...make or use your pre-existing Scrollable set of Slots then group them as a container or FAMILY and Then use the "PIN Behaviour" to pin them to the menu..Personally I would use FAMILIES to do so as its much more flexible once you understand how to use it...if you dont know how to use FAMILIES..The Manual has a perfect explanation of its usage. You could also if you like..rather than use the PIN behaviour you could make an EVERY TICK event set position to Custom Menu..
But of course I'm also going to presume that you are using a normal or standard basic menu set-up that DOESN'T move around the screen only appears visible or not visible in which can pinning is irrelevant..because you menu doesn't move at all does it?
If you are only making your menu items 'Visible or not visible'
Then pinning your scrolling slots is kind of not necessary..a red herring I wouldn't look there...
So to pre visualise what your real question is about...
I m going to ignore RookieDevs comments as I am fairly certain he is asking how to make a scrolling inv from scratch ..I could be wrong
The NewGuy, Am I also wrong when I say that you haven't even built the Scrolling Slots and in fact this is what you really want help with?
ie" You haven't made the scrolling slots yet?
Which is more or less what RookieDev seems to have made the question about..although this may of been his error not yours...
I doubt that two people simply wish to know how to use the PIN or FAMILY behaviour when Both are clearly discussed in the Manual..
So...The NewGuy....If you want help with how to make a scrolling Slots function for your inventory trying asking more specifically for that rather than how to pin an existing one to your custom menu.
if you just want to pin it...first of all ask yourself...Do I really need to attach it....if you menu isn't moving at all on the screen canvas...you wont need it...Pinning is mainly for fixing the location or rotation of objects in relation to another in either a fixed style semi fixed(Bar) or a looser style of pinning(Rope)
So if all you want to do is attach your scrolling slots to your custom menu...first off ask your self if you really need to ..does your menu move around on the screen..if so then yes you do probably need to pin your scrolling slots to it..if the menu doesnt move ..there should be no reason to attach it..unless of course you are having issues with screen size and placement etc which is really another question entirely..
If on the other hand you want to know how to make a SCROLLING SLOT Inventory...perhaps you should ask for that ..or ask for an example of one....if all you want to do is "HIDE" the Scrolling Inventory slots which is what you actually asked for...then why not just use the IS visible event call at the same time as when you make "VISIBLE" the Custom menu...its quite easy to add an extra event... Your question is ok...but I think RookieDev is actually after a different question..I could be wrong..
Happy Thanksgiving :)