> 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.client.unity/ks.reactor.client.unity.ksownershipscriptmanager/ks.reactor.client.unity.ksownershipscriptmanager.rules.md).

# Enum ksOwnershipScriptManager.Rules

Namespace: [KS.Reactor.Client.Unity](/reactor/api-reference/ks.reactor.client.unity.md)\
Assembly: KSUnity-Source.dll

Object rules to apply based on entity ownership.

```csharp
public enum ksOwnershipScriptManager.Rules
```

## Fields

`DESTROY_WHEN_OWNED = 4`

Destroy the object or script for entities the local player owns. If will not be recreated if the local player loses ownership of the entity.

`DESTROY_WHEN_UNOWNED = 3`

Destroy the object or script for entities the local player does not own. If will not be recreated if the local player gains ownership of the entity.

`DISABLE_WHEN_OWNED = 2`

Disable the object or script for entities the local player does owns. It will be re-enabled if the local player loses ownership of the entity. If the component is a rigid body, it will be set to kinematic instead of disabled.

`DISABLE_WHEN_UNOWNED = 1`

Disable the object or script for entities the local player does not own. It will be re-enabled if the local player gains ownership of the entity. If the component is a rigid body, it will be set to kinematic instead of disabled.

`LEAVE_UNCHANGED = 0`

Do nothing to the object.
