# G2_SetBG2Offset

## Syntax

      #include <nitro/gx/g2.h>

      void G2_SetBG2Offset(int hOffset, int vOffset);

## Arguments

hOffset | Horizontal offset setting
vOffset | Vertical offset setting

## Return Values

None.

## Description

This function specifies in pixels the offset for the BG2 screen (for text) with the display screen. Use the `G2_SetBG2Affine` function to offset the affine and bitmapped mode BG display.

## See Also

`G2_SetBG2Affine, G2_SetBG0Offset, G2_SetBG1Offset, G2_SetBG3Offset`

## Revision History

2004/01/19 Initial version.

CONFIDENTIAL