# Hooks

**`Hooks`** gives you a tool to add objects to your projectbox. But be aware that hooks are only partially controlled by the YAPPgenerator!&#x20;

```
module baseHookOutside()
{
  translate([shellLength/2, shellWidth-roundRadius, 0])
  {
    color("green") 
    {
      cube([10,20,((basePlaneThickness/2)+(baseWallHeight-ridgeHeight))]);
    }
  }
} //  baseHookOutside()


module baseHookInside()
{
  translate([50, wallThickness, (basePlaneThickness/2)])
  {
    color("blue")
    {
      cube([2,(shellWidth-(wallThickness*2)),((basePlaneThickness/2)+baseWallHeight)]);
    }
  }
} //  baseHookInside()


module lidHookOutside()
{
} //  lidHookOutside()


module lidHookInside()
{
  translate([50, wallThickness
               , ((lidPlaneThickness/2)+(lidPlaneThickness+lidWallHeight+0.05))*-1])
  {
    color("red")
    {
      cube([2,(shellWidth-(wallThickness*2)),(lidPlaneThickness+lidWallHeight)]);
    }
  }
} //  lidHookInside()
```

<figure><img src="https://832938294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI46RW7gXIHinmkl2pBq%2Fuploads%2F6CGqoCK8FvJ74yPPU4L7%2FYAPPhooks.png?alt=media&#x26;token=d19924f4-6f29-4745-97fa-5c8a21b1a270" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Hooks** are only partially controlled by the YAPPgenerator!&#x20;
{% endhint %}
