# queriesStartInColliders

> Set the raycasts or linecasts that start inside Colliders to detect or not detect those Colliders.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public static bool queriesStartInColliders { get; set; }
```

### Remarks

When performing a ray/line cast, the start point can begin inside a Collider.  When this occurs, this property controls whether these Colliders are returned or not.  When set to true, such Colliders are returned.

Additional Resources: [Physics2D.Raycast](/engine/6000.0/script-reference/unityengine/physics2d/raycast.md), [Physics2D.Linecast](/engine/6000.0/script-reference/unityengine/physics2d/linecast.md).
