> 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.ksientity.md).

# Interface ksIEntity

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

Entity interface that both client and server entities implement.

```csharp
public interface ksIEntity
```

## Properties

### CollisionFilter <a href="#ks_reactor_ksientity_collisionfilter" id="ks_reactor_ksientity_collisionfilter"></a>

Determines which entities to collide with and notify of collision/overlap events.

```csharp
ksCollisionFilter CollisionFilter { get; }
```

#### Property Value

[ksCollisionFilter](/reactor/api-reference/ks.reactor/ks.reactor.kscollisionfilter.md)

### Id <a href="#ks_reactor_ksientity_id" id="ks_reactor_ksientity_id"></a>

Entity id.

```csharp
ksEntityId Id { get; }
```

#### Property Value

[ksEntityId](/reactor/api-reference/ks.reactor/ks.reactor.ksentityid.md)

### IsDestroyed <a href="#ks_reactor_ksientity_isdestroyed" id="ks_reactor_ksientity_isdestroyed"></a>

Is the entity destroyed?

```csharp
bool IsDestroyed { get; }
```

#### Property Value

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

### Properties <a href="#ks_reactor_ksientity_properties" id="ks_reactor_ksientity_properties"></a>

Entity properties.

```csharp
ksPropertyMap Properties { get; }
```

#### Property Value

[ksPropertyMap](/reactor/api-reference/ks.reactor/ks.reactor.kspropertymap.md)

### Transform <a href="#ks_reactor_ksientity_transform" id="ks_reactor_ksientity_transform"></a>

Transform

```csharp
ksIReadOnlyTransform Transform { get; }
```

#### Property Value

[ksIReadOnlyTransform](/reactor/api-reference/ks.reactor/ks.reactor.ksireadonlytransform.md)

### Transform2D <a href="#ks_reactor_ksientity_transform2d" id="ks_reactor_ksientity_transform2d"></a>

2D Transform

```csharp
ksIReadOnlyTransform2D Transform2D { get; }
```

#### Property Value

[ksIReadOnlyTransform2D](/reactor/api-reference/ks.reactor/ks.reactor.ksireadonlytransform2d.md)

### Type <a href="#ks_reactor_ksientity_type" id="ks_reactor_ksientity_type"></a>

Entity type.

```csharp
string Type { get; }
```

#### Property Value

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