This operator returns the number of ticks since a transition was made to the active state in a state machine.
ticksInState()
Returns the number of ticks of the clock of the state machine since a transition was made to the currently active state.