state <target>If the target state is not the same as the current one, change to the target state.
All language controls · Event reference