SteamInteraction how access HandControler

I have got big issue with SteamInteraction system,
I want to get x value of a Trigger Cotnroller,

using Valve.VR.InteractionSystem;



public class handGrabVive : MonoBehaviour {

    public GameObject HandParent;
    Hand hand;
    float grabb;
    Animator anim;
    bool X=false;
    public Transform rotationPoint;
    float timer=0.5f;
    public GameObject playercol;

    // Use this for initialization
    void Start () {
        playercol = GameObject.FindGameObjectWithTag ("playercol");
        hand = HandParent.GetComponent<Hand>();
        anim = GetComponent<Animator>();
    rotationPoint = GameObject.FindGameObjectWithTag ("MainCamera").transform;
    }

    // Update is called once per frame
    void Update () {
        hand = HandParent.GetComponent<Hand> ();
    
        
            grabb = hand.controller.GetAxis (Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger).x;

Iam getting null refference all the time,even if it has the object with “Hand” script

I can’t remember off the top of my head how to grab the x input but as soon as I get home I will post my code, about 8 hours from now. I do remember looking for the variable hairtrigger in the Hand script. You might be able to find it before I get home.

using valve.vr.interactionsystem;
EVRButtonId hairTrigger = EVRButtonId.k_EButton_SteamVR_Trigger;

void Update()
{
var triggerVector = player.rightController.GetAxis(hairTrigger);
if (triggerVector.x == 1)// trigger has a value from 0 to 1;
{
"do something"
}

change right to left for left controller