# Position reference

<pre><code><strong>n(e) = { &#x3C;yappOrigin>, yappCenter }
</strong></code></pre>

Object locations can be specified in two ways, either at the origin or centered .

yappOrigin specifies the reference to be the origin of the bounding rectangle.&#x20;

yappCenter changes the reference to be the center of the object.&#x20;

```
// Sample Lid Cutouts
cutoutsLid  = 
[
    [10, 10, 10, 20, undef, yappRectangle]                              //(A)
   ,[10, 50, 10, 20, undef, yappRectangle, yappCenter]                  //(B)

   ,[30, 10, undef, undef, 5, yappCircle, ]                             //(C)
   ,[30, 50, undef, undef, 5, yappCircle, yappCenter]                   //(D)
 
   ,[50, 10, 10, 20, 2, yappRoundedRect, ]                              //(E)
   ,[50, 50, 10, 20, 2, yappRoundedRect, yappCenter]                    //(F)
 
   ,[70, 10, 15, undef, 10, yappCircleWithFlats, ]                      //(G)
   ,[70, 50, 15, undef, 10, yappCircleWithFlats, yappCenter]            //(H)
 
   ,[90, 10, 5, 2, 8, yappCircleWithKey, ]                              //(I)
   ,[90, 50, 5, 2, 8, yappCircleWithKey, yappCenter]                    //(J)
 
   ,[110, 10, 20, 20, undef, yappPolygon, shape6ptStar]                 //(K)
   ,[110, 50, 20, 20, undef, yappPolygon, shape6ptStar, yappCenter]     //(L)
```

<figure><img src="https://832938294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI46RW7gXIHinmkl2pBq%2Fuploads%2FnElaHm1Srf3rxYKFhMbi%2FyappCenterDemo.png?alt=media&#x26;token=f5ed1282-de07-4dbe-8fa6-60a2462b0be1" alt=""><figcaption></figcaption></figure>
