# mirror()

Copies this rig's pose to the other side. To swap left and right, use [flip](flip.md).

`ValueError` if INFO is missing or has no nodes. `RuntimeError` if the apply fails.

### Signature
```python
rig.mirror(direction) -> dict
```

| direction | Meaning |
|-----------|------|
| `"L2R"` | Left onto right |
| `"R2L"` | Right onto left |

Any other string raises `ValueError`.

### Return

A success dict. A `success: False` result is raised as `RuntimeError` instead of being returned.

### Example
```python
from os_bipedPlus import openAPI

api = openAPI()
rig = api.scan()
rig.mirror("L2R")
```

---