# GetObjectInScreen

## Description

Returns 1 if AGK thinks the object is currently on screen, 0 if not. This is an estimate and if in doubt will assume the object is on screen. As such if this command returns 0 then the object is definitely off screen, if it returns 1 the object may or may not be on screen.

## Definition

integer GetObjectInScreen( objID )

int agk::GetObjectInScreen( UINT objID )

## Parameters

- objID - The ID of the object to check.