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

# Interface ksICloneableScript

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

Interface for scripts that can copy their values onto another script.

```csharp
public interface ksICloneableScript
```

## Methods

### CopyTo(Component) <a href="#ks_reactor_client_unity_ksicloneablescript_copyto_unityengine_component" id="ks_reactor_client_unity_ksicloneablescript_copyto_unityengine_component"></a>

Copies the values of this script onto `script`.

```csharp
void CopyTo(Component script)
```

#### Parameters

`script` Component

Script to copy to.
