> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.1/api/csharp/yarn/yarn.library/yarn.library.importlibrary.md).

# ImportLibrary(Library)

Method in [Library](/2.1/api/csharp/yarn/yarn.library.md)

## Summary

Loads functions from another [Library](/2.1/api/csharp/yarn/yarn.library.md) .

```csharp
public void ImportLibrary(Library otherLibrary)
```

## Remarks

If the other library contains a function with the same name as one in this library, the function in the other library takes precedence.

## Parameters

| Name                                                              | Description                           |
| ----------------------------------------------------------------- | ------------------------------------- |
| [Yarn.Library](/2.1/api/csharp/yarn/yarn.library.md) otherLibrary | The library to import functions from. |
