# Dispose()

> Disposes of an existing WWW object.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features

```csharp
public void Dispose()
```

### Remarks

This function can be used to abort a download in progress. This can be useful, say, if you want to give the user an option to cancel the remote loading of a level in the game.
