> For the complete documentation index, see [llms.txt](https://unity.zoeimmersive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unity.zoeimmersive.com/adding-interactivity/interactions/conditions/manipulate.md).

# Manipulate

The **Manipulate** condition checks if the user manipulates (grabs or levitates) an [IO](/adding-interactivity/interactive-objects.md).

{% embed url="<https://youtu.be/SHuEEymNJdg?si=2t5jXP9q9zGZPgd0>" %}

The condition includes the following parameters:

* **Hand:** choose which hand must manipulate (or not) the specified object. It can be one of the three options: `Either`, `Left` or `Right`. “Both” is not an option as you can not manipulate an object with both controllers at the same time.
* **Mode**: If you select `Manipulate`, then the specified hand(s)/controller(s) need to manipulate (grab or levitate) the specified object to fulfil this condition. If you select `Manipulate+Hold,`the condition will validate **if the object is already being manipulated.** If you select `Release` then the specified hand(s) should release the object to fulfil this condition. \
  \*Note that `Release` requires the user to previously manipulate the object.

{% hint style="info" %}
`Manipulate + Hold` is useful when you have another condition paired (for example a collision or a button to be pressed) so the user can hold the object and the action only triggers when the second condition is valid. Example: a flashlight that turns on when the user presses a button (while holding it).
{% endhint %}

* **Target Objects:** IOs from the scene that the user needs to manipulate (or release) for this condition to be met. You can have more than one object meaning that whenever one of the objects is manipulated, the condition is valid.
* **Minimum duration required:** check details [here](/adding-interactivity/interactions/conditions/duration-parameter.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://unity.zoeimmersive.com/adding-interactivity/interactions/conditions/manipulate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
