> For the complete documentation index, see [llms.txt](https://assetstore.snapchatkit.voxelbusters.com/tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://assetstore.snapchatkit.voxelbusters.com/tutorials/utility-snippets/download-texture-from-url.md).

# Download Texture from Url

Learn how to download a texture form url

If you want to download the texture from the url, you can make use of **DownloadTexture** class provided in VoxelBusters.SnapchatKit.Common.Utility namespace

```csharp
using VoxelBusters.SnapchatKit.Common.Utility;

private void DownloadTextureFromUrlPath(string urlPath)
{
    DownloadTexture _newDownload = new DownloadTexture(new URL(urlPath), true, true);
    _newDownload.OnCompletion = (Texture2D _texture, string _error)=>{
        Debug.Log(string.Format("[DownloadAvatar] Texture download completed. Error= {0}.", _error.GetPrintableString()));
        //Access downloaded texture from _texture here. 
        };
        
    // Start the request 
    _newDownload.StartRequest();
}
```
