Facing dependent inputs for AI Player

Problem Description

I am working on coding AI for my game and have started by playing around with the ‘AI-Neutral-WalkAround’ state. My current issue is that putting Forward/Back into InputPress() gives me an error message that InputPress() does not take derived inputs. I have the idea of making a variable that represents the facing direction so that when I want forward/back specifically I can use that to tell the AI when to press right or left, but I’m not sure how to create such a variable, and the Facing variable in the physics module isn’t being recognized by V branches.

Technical Info

Castagne Version: v0.57 (Latest)
Host Engine: Godot
Genre: 2D Fighter / 2.5D Fighter

The variable already exists and is called _FacingH or _FacingHPhysics, and if I remember properly it’s set to either 1 or -1.

Putting it here for anyone who looks at this in the future that the variable that worked for me was _FacingHPhysics specifically (do not forget the underscore) with values of 1 and -1.