> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.ksiqueryhitresult.md).

# Interface ksIQueryHitResult

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Interface for [ksSweepResult](/reactor/api-reference/ks.reactor/ks.reactor.kssweepresult.md) and [ksRaycastResult](/reactor/api-reference/ks.reactor/ks.reactor.ksraycastresult.md).

```csharp
public interface ksIQueryHitResult
```

## Properties

### Collider <a href="#ks_reactor_ksiqueryhitresult_collider" id="ks_reactor_ksiqueryhitresult_collider"></a>

Collider hit by the query.

```csharp
ksICollider Collider { get; set; }
```

#### Property Value

[ksICollider](/reactor/api-reference/ks.reactor/ks.reactor.ksicollider.md)

### Distance <a href="#ks_reactor_ksiqueryhitresult_distance" id="ks_reactor_ksiqueryhitresult_distance"></a>

Distance along the query when the intersection was detected.

```csharp
float Distance { get; set; }
```

#### Property Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### Entity <a href="#ks_reactor_ksiqueryhitresult_entity" id="ks_reactor_ksiqueryhitresult_entity"></a>

Entity hit by the query.

```csharp
ksIEntity Entity { get; set; }
```

#### Property Value

[ksIEntity](/reactor/api-reference/ks.reactor/ks.reactor.ksientity.md)

### IsInitialOverlap <a href="#ks_reactor_ksiqueryhitresult_isinitialoverlap" id="ks_reactor_ksiqueryhitresult_isinitialoverlap"></a>

Is the entity/collider overlapping with the query origin?

```csharp
bool IsInitialOverlap { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### IsValid <a href="#ks_reactor_ksiqueryhitresult_isvalid" id="ks_reactor_ksiqueryhitresult_isvalid"></a>

A hit result is only valid if it includes an entity reference.

```csharp
bool IsValid { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Normal <a href="#ks_reactor_ksiqueryhitresult_normal" id="ks_reactor_ksiqueryhitresult_normal"></a>

Normal of the surface where the hit point is.

```csharp
ksVector3 Normal { get; set; }
```

#### Property Value

[ksVector3](/reactor/api-reference/ks.reactor/ks.reactor.ksvector3.md)

### Point <a href="#ks_reactor_ksiqueryhitresult_point" id="ks_reactor_ksiqueryhitresult_point"></a>

Point on the surface of the entity where the hit instersected

```csharp
ksVector3 Point { get; set; }
```

#### Property Value

[ksVector3](/reactor/api-reference/ks.reactor/ks.reactor.ksvector3.md)
