Function Not Appearing for PlayerInputHandler [RESOLVED]

I have just started using Unity recently and was following a tutorial. In the tutorial you could set the function to PlayerInputHandler.OnMove() This is the code I am currently using:

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

public class PlayerInputHandler : MonoBehaviour
{
     public GameObject playerPrefab;
     PlayerController playerController;

     private void Awake()
    {
        if (playerPrefab != null)
        {
            playerController = playerPrefab.GetComponent<PlayerController>();
        }
    }

    public void OnMove(InputAction.CallbackContext context)
    {
        playerController.OnMove(context);
    }
}

Here is a screenshot of the function not appearing on my end and the only option that appears for me is Monoscript which comes with string name:186716-screenshot-664.png

I would appreciate any insight that can be offered, thanks in advance.

I was putting the playerinput script in the function instead of prefabs