Hi @mattyburtonofficial
There’s a lot of ways to do that, so the answer would be “it depends”. It depends on:
What material are the parts made of, plastic, metal, wood etc?
What production method, moulded, milled, hand crafted etc.?
What direction does it need to be pushed in/out from, top, bottom, side?
What kind of friction/adhesion do you need, should the red part be changed by a simple push or by force, should it be child proof etc.?
What kind of life time are we looking at, 10 changes, 100 changes, 1000+?
I’m sure there are more things to consider, so be more descriptive and I’m sure someone will help. This was written for Grasshopper, but most of the guidelines apply to general Rhino questions as well: How to ask effective questions
HTH, Jakob