> For the complete documentation index, see [llms.txt](https://docs.blippar.com/webar-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blippar.com/webar-sdk/v.1.7.0/integrations/unity-integration/unity-api-references.md).

# Unity API References

{% content-ref url="/spaces/3UKy7VHRJWrNarYaMp13" %}
[Blippar Documentation Centre](https://docs.blippar.com/blippar-documentation-centre/)
{% endcontent-ref %}

## Introduction <a href="#h_01gd0n3ebbv1gfj5agtvk8gqnd" id="h_01gd0n3ebbv1gfj5agtvk8gqnd"></a>

The WebAR’s functions are accessed through the global variable**WEBARSDK**, which is available after the WebAR SDK script has been loaded. The following section provides information on the various API included in the unity package.

## API Reference

1. StartTracking:<mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**StartTracking()**</mark>\ <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**StartTracking(KeepARAfterLost)/**</mark>
2. StopTracking: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**StopTracking()**</mark>\
   \*\* <mark style="color:red;">**WEBARSDK**</mark>.\*\*<mark style="color:orange;">**StopTracking(KeepARVisible)**</mark>\
   keepARVisible = true, keeps AR object visible after user stops tracking. Default value is false.
3. ResetTracking: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**ResetTracking()**</mark>
4. Tracking Found/Lost: open event attached to the “webarManager” prefab, user can subscribe directly.
5. TrackingStatus: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**GetTrackingStatus()**</mark>\
   Status: TRACKING, TRACKED, STOPPED
6. DetectedMarkerID: <mark style="color:red;">**WEBARSDK.**</mark><mark style="color:orange;">**GetDetectedMarkerID()**</mark>\\
7. LostMarkerID: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**GetLostMarkerID()**</mark>
8. TrackingQuality: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**GetTrackingQuality()**</mark>\
   For surface tracking, Quality: HIGH, MEDIUM, LOW, LOST
9. SelectedTracking: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**GetSelectedTracking()**</mark>
10. Disable AutoScale: <mark style="color:red;">**WEBARSDK**</mark>**.**<mark style="color:orange;">**DisableAutoScale()**</mark>
