Trying to pile up objects one on top of the other and make them stick in game

Hi! I’m trying to make a game but I’m stuck on how to make objects stick together in game, what I want it to happen is:
i grab object, release it and make it stick to the floor, then i grab another object, make it touch the other object and when you release the grab button and is touching the other object, make it stick to the other object.
I was trying to do this with Begin overlap but i cant seem to make it work is there a way somebody can help me?