# Update2D

## Description

Called automatically. This is an advanced command to take control of the update process. Normally Update calls this and Update3D() to update everything in the world. This command only updates the 2D objects such as sprites and text.

## Definition

Update2D( time )

void agk::Update2D( float time )

## Parameters

- time - the time in seconds to move everything along. Can be fractions of seconds.