Do you mean as part of say a cutscene or do they have control? If the latter maybe set up an invisible wall for them to continually walk into that becomes passable under whatever circumstance you need.Good day!
I know that you can give an event the opportunity to walk in one place. How to do it for the player?