it really would have made more sense to use the StateMachine to perform the checks and change the state… feels like that’s the job of the StateMachine.
it normally is. At least that’s how I always do it. I built mine based off of this one from gdquest: