---
title: "init(_:physicalSize:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/anchoringcomponent/imageanchoringsource/init(_:physicalsize:)"
---

# init(_:physicalSize:)

Creates the image anchoring source from image file URL.

## Declaration

```swift
init(_ url: URL, physicalSize: SIMD2<Float>)
```

## Parameters

- `url`: The image file URL.
- `physicalSize`: The physical size of tracking image
