In the collision event, you use ChangeParent. By the sounds of it, the player has the collision event with the ball, in which case you can use this.
player -> Collision with ball -> Script Editor
- Code: Select all
ChangeParent("view", "Collide Actor");
You can use "Collide Actor" to specify the actor causing the collision event, but only in collision events. If that isn't the event you want, then you may need to do something else, but essentially you just use some form of ChangeParent.