# WithOptions(EntityQueryOptions)

> Specify your own EntityQueryOptions.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public SystemAPIQueryBuilder WithOptions(EntityQueryOptions options)
```

### Parameters

**** (\[EntityQueryOptions]\(/engine/7000.0/script-reference/unity/entities/entityqueryoptions)): The query options

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

### Remarks

This method may not be invoked more than once for each query description. Subsequent calls will override previous options, rather than adding to them. Use the bitwise OR operator '|' to combine multiple options.
