How do I make a transition between A to B when setting the player's location?

That worked, thank you.

But after I pressed my key and it transisted the character to B, I can’t use it anymore, it just teleports to the location: