set parent of object?

Bob collides property “Trigger”

on trigger I fire script

in script I have

get parent with

Parent=Bob.parent

Next I need to get who Bob collided with in the first place and parent bob to him

help?