Hi I wanna set a movement speed in my 2d top down rpg but everytime it says that my code is wrong can someone help me?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MovementBasics : MonoBehaviour {

public Animator Animator;
public float Speed = 1 ;


// Update is called once per frame
void Update() {

    Vector3 movement = new Vector3(Input.GetAxis("Horizontal"),Input.GetAxis("Vertical"), 0.0f);


    Animator.SetFloat("Horizontal", movement.x);
    Animator.SetFloat("Vertical", movement.y);
    Animator.SetFloat("Magnitude", movement.magnitude);

    transform.position = transform.position + movement * Time.deltaTime;

    
    
}

}