I am trying to create a code to make my unity character move but I get an error

the error is:Assets\Scripts\Player\movement.cs(24,85): error CS1513: } expected,

Hi!

You’ve got to make sure all your code is nicely inside the curly brackets, so try this:

private void Start() {
    player = GetComponent<CharacterController>();
}

instead of this:

private void Start() {
    player = GetComponent<CharacterController>();
    {
                
    }

And this:

private void Update() {
    horizontalMove = Input.GetAxis("Horizontal");
    verticalMove = Input.GetAxis("Vertical");
}

instead of this:

private void Update() {
    horizontalMove = Input.GetAxis("Horizontal");
}   verticalMove = Input.GetAxis("Vertical");

Hope this helps!