# Scene.findGlyphFieldByName

## Summary
Scene.findGlyphFieldByName returns the first glyph field whose `name` exactly matches the input string. It searches only glyph field objects. This is the single-match lookup variant for glyph data.

## Syntax
```ts
Scene.findGlyphFieldByName(name: string): GlyphField | undefined
const glyphField = scene.findGlyphFieldByName(name);
```

## Parameters
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes | Exact glyph field name to search for. |

## Returns
`GlyphField | undefined` - First matching glyph field, or `undefined` if absent.

## Type Details
```ts
// No additional descriptor expansion is required for this signature.
```

## Example
```js
const canvas = document.querySelector("canvas");
const wgpu = await WasmGPU.create(canvas);

const scene = wgpu.createScene();
const glyphs = wgpu.createGlyphField({ instanceCount: 0, scaleTransform: { mode: "linear", domainMin: 0, domainMax: 1 } });
glyphs.name = "vectors";
scene.add(glyphs);

console.log(scene.findGlyphFieldByName("vectors"));
```

## See Also
- [Scene.findAllGlyphFieldsByName](./wasmgpu-world-scene-findallglyphfieldsbyname.md)
- [Scene.glyphFields](./wasmgpu-world-scene-glyphfields.md)
- [Scene.traverseGlyphFields](./wasmgpu-world-scene-traverseglyphfields.md)
