# frameGetter

> Optional delegate that can be set to calculate the AccessibilityNode.frame for the node instead of setting a flat value. If the frame of the node may change over time, this delegate should be set instead of giving a one time value for the AccessibilityNode.frame.

## Definition

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

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

### Remarks

If [AccessibilityHierarchy.RefreshNodeFrames](/engine/6000.0/script-reference/unityengine/accessibility/accessibilityhierarchy/refreshnodeframes.md) is called, the value of the [AccessibilityNode.frame](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/frame.md) is set to [Rect.zero](/engine/6000.0/script-reference/unityengine/rect/zero.md) if [AccessibilityNode.frameGetter](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/framegetter.md) is not set.
