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

Argument

Name
Type
Optional
sprite?
{Sprite|int:-1}
Yes

Returns

Not applicable.

Description

Set the Sprite of this Sprite Element. If it is not specified or specified as -1, the Sprite will be cleared.

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