Im getting this error saying PlayerInput.OnFootActions' does not contain a definition for 'Movement'

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class InputManager : MonoBehaviour
{
    private PlayerInput playerInput;
    private PlayerInput.OnFootActions onFoot;

    private PlayerMotor motor;
    // Start is called before the first frame update
    void Awake()
    {
        playerInput = new PlayerInput();
        onFoot = playerInput.OnFoot;
        motor = GetComponent<PlayerMotor>();
    }

    // Update is called once per frame
    void FixedUpdate()
    {
        //tell player motor to move using the value of the movement action.
        motor.ProcessMove(onFoot.Movement.ReadValue<Vector2>());
    }
    private void OnEnable()
    {
        onFoot.Enable();
    }
    private void OnDisable()
    {
        onFoot.Disable();
    }

}

Ive looked at my code for a solid hour now following the video tutorial by Natty GameDev for a fps.
Ive rewrote my script several times.
It only happens when i add the PlayerMotor

Heres the video

I FIGURED IT OUTT