How do I get the hand position when it enters the HoloLens view?

Is there a way or method already established to get the User’s hand position when it enters the view of the HoloLens in the “Ready to Tap” positon?

Found here

I found the answer, just attach this script to an object in the scene

using UnityEngine.VR.WSA.Input;

public class HandPosition : MonoBehaviour {

    void Awake () {

        InteractionManager.SourcePressed += GetPosition;

    }
   
    private void GetPosition(InteractionSourceState state)
    {
        Vector3 pos;
        if (state.properties.location.TryGetPosition(out pos))
        {
            Debug.Log(pos);
        }
    }