How to make an animatronic stop by a door?