# XRVps2AnchorSubsystem Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.XRSubsystems.XRVps2AnchorSubsystem/ XRVps2AnchorSubsystem > extends UnityEngine.XR.ARSubsystems.TrackingSubsystem A tracking subsystem serving VPS2 anchors as trackables. --- ## Declaration public class XRVps2AnchorSubsystem : TrackingSubsystem ## Remarks The VPS2 feature's lifecycle is owned by XRVps2Subsystem; this subsystem only creates, tracks, and removes anchors against it. Poses are in AR session space. --- ## Methods | Name | Type | Summary | | --- | --- | --- | | GetAnchorPayload | bool | Get the payload which encodes the anchor. The payload can be used to re-track the anchor in a different VPS2 session. | | GetChanges | TrackableChanges | Get the changes (added, updated, and removed) to anchors since the last call to this method. | | TryCreateAnchor | bool | Create a new anchor located at pose in the device's AR tracking space. | | TryRemoveAnchor | bool | Stop tracking an anchor. The anchor surfaces one removed change through GetChanges before it is forgotten. | | TryTrackAnchor | bool | Start tracking the anchor encoded by anchorPayload. | --- ## Relationships derived: NsdkVps2AnchorSubsystem