← Documentation Home

SetParticleSize

Category: Particle Effects (Pro)

Back to System Functions


Signature

SetParticleSize(system As Integer, minimumScale As Double, maximumScale As Double)

Returns

Void

Description

Sets the randomly selected image scale for newly emitted particles.

Performance and behavior

Existing particles keep their original scale. The default range is 1.

Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.

Example

SetParticleSize particles, 0.4, 1.1