> For the complete documentation index, see [llms.txt](https://mrwheel-docs.gitbook.io/yappgenerator_en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mrwheel-docs.gitbook.io/yappgenerator_en/hooks.md).

# 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="/files/mrs8NjV26LdwfuLX3Lmo" alt=""><figcaption></figcaption></figure>

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