# frameGetter

> Delegate that calculates the frame of the accessibility node, automatically keeping it up-to-date.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Accessibility](/engine/6000.7/script-reference/unityengine/accessibility.md)
* **Assembly:** UnityEngine.AccessibilityModule

```csharp
public Func<Rect> frameGetter { get; set; }
```

### Remarks

The node's frame can be set either through this delegate or through the [\_frame](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/frame.md) property. Using this delegate should simplify the update of the node's frame by automatically keeping it in sync with the coordinates of the visual element represented by the node.

If the [\_frame](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/frame.md) is not set, it gets its value from this delegate.

**Note**: If this delegate is not set, calling [AccessibilityHierarchy.RefreshNodeFrames](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityhierarchy/refreshnodeframes.md) sets the [\_frame](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/frame.md) to [\_zero](/engine/6000.7/script-reference/unityengine/rect/zero.md).
