stateChangeCommand

This command will be scheduled whenever the state changes. Note that it receives a pair of floats; these are the x and y values.