> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# AssetContext

> Public surface of the engine's built-in asset library, always present on Context.assets regardless of which libraries an app registers.

Defined in: [packages/common/src/context/context.type.ts:81](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/packages/common/src/context/context.type.ts#L81)

Public surface of the engine's built-in asset library, always present on
`Context.assets` regardless of which libraries an app registers.

## Methods

### getAsset()

#### Call Signature

> **getAsset**(`path`): [`NfFile`](https://docs.nanoforge.eu/references/engine/3.0.0/common/classes/NfFile)

Defined in: [packages/common/src/context/context.type.ts:82](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/packages/common/src/context/context.type.ts#L82)

##### Parameters

###### path

`string`

##### Returns

[`NfFile`](https://docs.nanoforge.eu/references/engine/3.0.0/common/classes/NfFile)

#### Call Signature

> **getAsset**(`path`): `undefined`

Defined in: [packages/common/src/context/context.type.ts:83](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/packages/common/src/context/context.type.ts#L83)

##### Parameters

###### path

`""` | `undefined`

##### Returns

`undefined`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.