# assetTrackingData Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKVps2Session.method-assetTrackingData/ assetTrackingData --- ## Declaration func assetTrackingData(assetId: String? = nil) -> Vps2AssetTrackingData? #### Summary Gets the pose of a VPS asset's origin in the device's AR tracking space. Polling is the demand that starts tracking: the first call for an asset begins tracking its origin frame and returns nil while that spins up, so keep polling. Data is only served while the asset is fully tracked; nil covers never-localized, limited, and lost tracking alike, and a nil assetId while the device is not localized. Content should not be placed while this returns nil. #### Returns The asset's tracking data, or nil while none is available. ### Parameters | Name | Type | Summary | | --- | --- | --- | | assetId | String? | The identifier of the asset, or `nil` for the asset the device is currently localized to (see `Vps2Localization/localizedAsset`). | ---