> For the complete documentation index, see [llms.txt](https://docs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superiormc.cn/auxilor-plugins/zi-ding-yi-xiao-guo/suo-you-tiao-jian/has_active_pet.md).

# has\_active\_pet

## `has_active_pet`

需要（作为触发对象的）玩家正在使用指定宠物。

**需要 EcoPets。**

## 示例配置

```yaml
- id: has_active_pet
  args:
    pet: dragon # 宠物ID
```
