So I have currently a camera set on every tick to lerp(scrollx, player.X, 0.05) lerp(scrolly, player.Y, 0.05) that way it follows the player smoothly, however when I change a layout and I place the coordinates of the player elsewhere for the new lavel, the camera follows smoothly from outside the edge of the screen to the character new location.
How can I make the camera quickly snap to the player current position if on every tick tells it to always use lerp?