How to make the character leave the scene without walking out?