# updateInterval

> Sets or retrieves gyroscope interval in seconds.

## Definition

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

```csharp
public float updateInterval { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Input.gyro.updateInterval = 0.01f;
    }
}
```
