What must I put there?

What should i put in front of the branch if i want to set the boolean and print string every time my character moves, there must be a better way than just putting all the input stuff in front, besides i can’t have a double of the axis input (i think, i can’t compile with two of it as you can see in the screenshots). Please help!

image1. boolean set

image2. boolean set debug