# SetViewZoom

## Description

Zooms the screen viewport relative to the world, for example a view zoom of 2.0 will double the size of anything currently in view. A value of 1.0 returns everything to normal size.
Using this command will automatically disable the four physics walls surrounding the screen.
You can also fix sprites to the screen so that they do not change size by using FixSpriteToScreen.
This command can either zoom towards the view's top left corner or towards the view's center, see SetViewZoomMode for details.

## Definition

SetViewZoom( zoom )

void agk::SetViewZoom( float zoom )

## Parameters

- zoom - The zoom level for scrolling sprites