# ScreenToWorldY

## Description

Converts a screen Y coordinate into a world Y coordinate based on the current view offset and zoom. When the SetViewOffset is 0,0 and the SetViewZoom is 1.0 world and screen coordinates are the same. For example when the view is offset by 20 pixels down, input at 0,0 on the screen will appear 0,20 in the world.

## Definition

float ScreenToWorldY( y )

float agk::ScreenToWorldY( float y )

## Parameters

- y - The screen Y coordinate to convert.