How to disable animation changes for other child scenes?

hi all.
Question, I have 2 types of gifts, blue and red, and 2 pipes into which they need to be inserted. I made an animation of how he flies into the pipe when the gift touches the pipe area, the pipe tells the gift information about the coordinates of the beginning of the animation and the end, but if during the animation at one pipe, you put another gift into the 2nd pipe, then 1 gift will teleport to 2 pipe

present code:

image

image

pipe code: