# SetPhysicsForceRange

## Description

Changes the range of the global force. Sprites greater than this distance from the force position will not feel its effects. A range less than zero equals an infinite range.

## Definition

SetPhysicsForceRange( iForceIndex, range )

void agk::SetPhysicsForceRange( UINT iForceIndex, float range )

## Parameters

- iForceIndex - The ID of the force to modify.
- range - The new range of the force.