Questions about Programming a Servo Motor [Solved]

So, if I want to also do it for A3, I need to set the variable of the sensorvalue as an index?