Binding the pen's floating state position to a state variable.