ParticleType.setSprite() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
sprite
No
animate?
Yes
matchAnimation?
Yes
random?
Yes

Returns

Not applicable.

Description

Set the Sprite properties of particles of this Particle Type, which replaces its shape is it is set. The Sprite can be animated using its own animation speed, unless it is set to match the life time of this Particle Type. The animation will play from either the start to finish or randomized frames if specified.

⚠️ **GitHub.com Fallback** ⚠️