# OffsetParticles

## Description

Immediately moves all existing particles by the given offset. For example an offset of x=3,y=5 would move all particles to the right by 3 units and down 5 units. This does not affect the particle emitter but can be used in conjunction with SetParticlesPosition to move both the emitter and the particles that already exist.

## Definition

OffsetParticles( ID, x, y )

void agk::OffsetParticles( UINT ID, float x, float y )

## Parameters

- ID - The ID of the emitter to modify.
- x - The distance to move the particles in the X direction.
- y - The distance to move the particles in the Y direction.