# SetParticlesStartZone

## Description

Sets the area around the emitter where new particles may appear. The values are relative to the emitter position, for example a zone of 0,0,0,0 would mean that all particles start on the emitter position point. A zone of -10 in x and +10 x, with y being 0 (-10,0,10,0) would create a line centered on the emitter position that particles would randomly appear along. A box zone where both x and y are non-zero sizes would mean that particles could start at any point inside the box.

## Definition

SetParticlesStartZone( ID, x1, y1, x2, y2 )

void agk::SetParticlesStartZone( UINT ID, float x1, float y1, float x2, float y2 )

## Parameters

- ID - The ID of the emitter to modify.
- x1 - The x coordinate of the top left corner of the start zone.
- y1 - The y coordinate of the top left corner of the start zone.
- x2 - The x coordinate of the bottom right corner of the start zone.
- y2 - The y coordinate of the bottom right corner of the start zone.