---
title: url
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlasset/url
---

# url

The URL from which the asset was loaded, if available.

## Declaration

```swift
var url: URL? { get }
```

## Discussion

Discussion For assets created from a URL (with the init(url:) or init(url:vertexDescriptor:bufferAllocator:) initializer), this property is the URL that the asset was loaded from. For assets created manually, this property’s value is nil.

## See Also

### Working with Asset Content

- [object(at:)](modelio/mdlasset/object(at:).md)
- [subscript(_:)](modelio/mdlasset/subscript(_:).md)
- [count](modelio/mdlasset/count.md)
- [childObjects(of:)](modelio/mdlasset/childobjects(of:).md)
- [add(_:)](modelio/mdlasset/add(_:).md)
- [remove(_:)](modelio/mdlasset/remove(_:).md)
- [boundingBox](modelio/mdlasset/boundingbox.md)
- [boundingBox(atTime:)](modelio/mdlasset/boundingbox(attime:).md)
- [bufferAllocator](modelio/mdlasset/bufferallocator.md)
- [vertexDescriptor](modelio/mdlasset/vertexdescriptor.md)
- [masters](modelio/mdlasset/masters.md)
