How to prevent player from teleporting

I have a 2D player gameobject that uses Rigidbody.MovePosition to follow the mouse. I have a pause menu that pauses the game by setting Time.timeScale = 0. This allows the player to move their mouse somewhere while the game is paused, and then when they unpause it, the player teleports to the mouse.

This allows the player to pause, move their mouse to somewhere where it is safe, unpause, and dodge any enemies. From my testing, however, if the enemy is in between the mouse and the player when unpausing, the player still collides with the enemy, but it won’t if is trigger is set to true.

Is it possible to stop the player from teleporting after unpausing, and if so, how?

I don’t follow here. If you “pause”, don’t issue any MovePosition calls then you won’t move.

This is a game design question first.

If you have constant “go to mouse” going on, and you allow the mouse to move away from where it was at pause, then what would you expect to happen when the game resumes and the mouse is far away?

As in “the user sees this, and has to do this, and then the player does this instead of teleporting”