# DrawObject

## Description

Immediately draws the object to the current render target at its current position, size, and rotation. This is useful if you want to draw particular objects like sky boxes before any other objects. In this case be sure to make the object invisible for calls to Render() or Sync() otherwise the object may appear twice.

## Definition

DrawObject( objID )

void agk::DrawObject( UINT objID )

## Parameters

- objID - The ID of the object to draw.