# TryCreateAnchor Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.VPS2.ARVps2AnchorManager.TryCreateAnchor/ TryCreateAnchor Attempts to create a new anchor at localPose. --- ## Declaration public bool TryCreateAnchor(Pose localPose, out ARVps2Anchor anchorOut) #### Summary Attempts to create a new anchor at localPose. #### Remarks The pose is in AR session space, not Unity world space: it is forwarded to the subsystem unmodified, unlike ARAnchorManager, which takes a world-space pose. To anchor at a world-space pose, such as the pose of a trackable or of TryGetAssetTrackingData, convert it first with origin.TrackablesParent.InverseTransformPose. #### Returns true if the anchor was created; otherwise false. ### Parameters | Name | Type | Summary | | --- | --- | --- | | localPose | Pose | The pose, in AR session space, of the anchor. | | anchorOut | ARVps2Anchor | The created anchor. | ---