Picking up objects

ok I’m sorry but I’m really stupid when it comes to this xP but how do I make the gated tick thing and the rest? (how to get the obj. to know when it’s interacted with and set the position to the transform of the arrow)