---
title: AnnotationAnchor
summary: Type alias in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# AnnotationAnchor

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Type alias

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
type AnnotationAnchor = "center" | AnnotationAnchorVertical | AnnotationAnchorDepth | AnnotationAnchorSide | `${AnnotationAnchorVertical}-${AnnotationAnchorDepth}` | `${AnnotationAnchorVertical}-${AnnotationAnchorSide}` | `${AnnotationAnchorDepth}-${AnnotationAnchorSide}` | `${AnnotationAnchorVertical}-${AnnotationAnchorDepth}-${AnnotationAnchorSide}`;
````

A point of an object's box in its model's own axes (docs/annotation-anchors-design.md §3.1): "center", or up to
three words in the order vertical, depth, side, joined with "-"; the middle along an axis left out. "top" is the
middle of the top face, "top-back-left" a corner of it, "left" the middle of the left face
