where is the animator.GetTrigger?

I’m trying to this two code.

1) if(click==true && me.animator.GetTrigger=="Pressed")
  1. if(click==true && me.AnimationTriggers == me.animationTriggers.highlightedTrigger)

But impossible…

how to get the button’s animationTrigger?
there is a only setTrigger.

I got it.

if (me.animator.GetCurrentAnimatorStateInfo (0).IsName (“Base Layer.Highlighted”))