Here’s how I got it to work:
Set a variable they share and a boolean if the axis is not zero (being pressed). If the other axis is being pressed, take the value from the variable they share. Otherwise just use the value from the actor.