SceneLoads with new player coordinates

Hi I try to create script to change my player coordinates to new one after new SceneManager.LoadScene. But coordinates on player don’t change after load.
My player prefab dont destroy on load.

using UnityEngine;
using UnityEngine.SceneManagement;

public class NextScene : MonoBehaviour
{

[SerializeField] int sceneNumber = 0;
[SerializeField] public float xPosition;
[SerializeField] public float yPosition;
[SerializeField] public float zPosition;

private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.tag == “PlayerMove”)
{
collision.transform.position = new Vector3(xPosition, yPosition, zPosition);
}
SceneManager.LoadScene(sceneNumber);
Debug.Log(“QqQQQ”);
}
}

Well, according to your code LoadScene will be called if any collider enters the trigger, but collision.transform.position will only be set if the collider which entered the trigger is tagged with “PlayerMove”. I would assume the first collider which enters the trigger is attached to a GameObject which does not have the “PlayerMove” tag.