Can set multiple states at the same time with one state-change event.