---
title: "Update and FixedUpdate"
content_type: tutorial
url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate?language=en"
language: en
container_type: course
container_title: "Beginner Scripting"
container_url: "https://learn.unity.com/course/beginner-scripting.md?language=en&version=2019.3"
standalone_markdown_url: "https://learn.unity.com/tutorial/update-and-fixedupdate.md?language=en&version=2019.3"
previous_title: "Start MonoBehaviour Methods"
previous_url: "https://learn.unity.com/course/beginner-scripting/tutorial/awake-and-start?language=en&version=2019.3"
previous_markdown_url: "https://learn.unity.com/course/beginner-scripting/tutorial/awake-and-start.md?language=en&version=2019.3"
next_title: "Vector Maths"
next_url: "https://learn.unity.com/course/beginner-scripting/tutorial/vector-maths?language=en&version=2019.3"
next_markdown_url: "https://learn.unity.com/course/beginner-scripting/tutorial/vector-maths.md?language=en&version=2019.3"
difficulty: beginner
duration_minutes: 5
unity_version:
  - "2019.3"
  - "2019.2"
  - "2019.1"
  - "2018.4"
  - "2018.3"
  - "2018.2"
  - "2018.1"
  - "2017.4"
  - "2017.3"
  - "2017.2"
  - "2017.1"
  - "5.x"
  - "4.x"
supported_unity_versions:
  - name: "2019.3"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2019.1"
  - name: "2018.4"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2018.4"
  - name: "2018.3"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2018.3"
  - name: "2018.2"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2018.2"
  - name: "2018.1"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2018.1"
  - name: "2017.4"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2017.4"
  - name: "2017.3"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2017.3"
  - name: "2017.2"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2017.2"
  - name: "2017.1"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=2017.1"
  - name: "5.x"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=5.x"
  - name: "4.x"
    url: "https://learn.unity.com/course/beginner-scripting/tutorial/update-and-fixedupdate.md?language=en&version=4.x"
last_updated: "2026-08-04T14:24:49.000Z"
---

# Update and FixedUpdate

Explore how Update and FixedUpdate run each frame so you can apply time-based changes correctly in your scripts.

How to effect changes every frame with the Update and FixedUpdate functions, and their differences.

This tutorial is included in the [Beginner Scripting project](https://learn.unity.com/project/beginner-gameplay-scripting).

Previous: [Awake and Start](https://learn.unity.com/tutorial/awake-and-start?uv=2019.3&projectId=5c8920b4edbc2a113b6bc26a)

Next: [Vector Maths](https://learn.unity.com/tutorial/vector-maths?projectId=5c8920b4edbc2a113b6bc26a)

## Update and FixedUpdate

[Video](https://connect-mediagw.unity.com/h1/20220104/videos/5ebb1efc-671e-4cc5-871d-5f394211935b_U_Beginner_8_UpdateandFixedUpdate.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20220104/631658ef-76ab-4984-97de-c014d275fcf5_B_08_Update_And_Fixed_Update_AudioProcessed.vtt))

```csharp
using UnityEngine;
using System.Collections;

public class UpdateAndFixedUpdate : MonoBehaviour
{
    void FixedUpdate ()
    {
        Debug.Log("FixedUpdate time :" + Time.deltaTime);
    }
    
    
    void Update ()
    {
        Debug.Log("Update time :" + Time.deltaTime);
    }
}
```
