# TryGetAnchorPayload Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.VPS2.ARVps2AnchorManager.TryGetAnchorPayload/ TryGetAnchorPayload --- ## Declaration public bool TryGetAnchorPayload(ARVps2Anchor anchor, out string payload) #### Summary Gets the payload which encodes the anchor. The payload can be used to re-track the anchor in a different VPS2 session. #### Returns true if the payload is available; otherwise false. ### Parameters | Name | Type | Summary | | --- | --- | --- | | anchor | ARVps2Anchor | The anchor whose payload to get. | | payload | string | Receives the payload on success. | ---