Sprite.toFile() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
path
{string:path}
No
frame?
{int}
Yes

Returns

Not applicable.

Description

Save this Sprite to the specified .png file, either only its one specified frame or all of them in one file in a horizontal strip. Applicable only if this Sprite was created during the runtime.

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