Block_sprite as a state machine.