Variable from state machine

How can I get a variable from state machine, in this case the time remaining from an animation that is inside a transition rule, to use it in the event graph?

I see that it has been asked before sorry