# G2S_SetWnd0Position

## C Specification

      #include <nitro/gx/g2.h>

      void G2S_SetWnd0Position(int x1, int y1, int x2, int y2);

## Description

This function specifies the position of the sub 2D Engine's window 0. For x-coordinates, the lower 8 bits are valid. For y-coordinates, the value must be 0 - 192.

## Arguments

`x1` | Top left x-coordinate of the window
`y1` | Top left y-coordinate of the window
`x2` | Bottom right x-coordinate of the window
`y2` | Bottom right y-coordinate of the window

## Return Values

None

## See Also

`G2S_SetWnd1Position`

## Revision History

02/09/2004 Initial Version