## 条件组件
### 条件组件(checker)用法
功能:状态不满足时返回上一步。
![](https://img.kancloud.cn/18/2a/182ad89ff45047dab531c2cb6c6804b9_595x131.png)
```
{
"windowCls":"MainView_9F956014-12FC-42d8-80C7-9A90D4D567E3",
"windowName":"火影忍者Online",
"name":"自动刷排位",
"rate":1.2,
"times":1,
"steps":[
{
"name":"刷新对手",
"img":"../images/task_paiwei/refresh.png",
"type":"must",
"try":10,
"sleep":5,
"confidence": 0.7,
"region": [1418, 945, 100, 50]
},
{
"name":"匹配目标",
"img":"../images/task_paiwei/220.png",
"type":"checker",
"try":10,
"sleep":2,
"confidence": 0.85,
"region": [510, 700, 910, 320]
}
]
}
```