Layer.SpriteElement - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Sprite Element used to draw a Sprite onto a Layer.

Specification

Destruction
Elements
Layer.SpriteElement.destroy()
None

Properties

Name
Type
Default
Modifiable
parent
other
No
ID
{int:spriteElement}
None
No
sprite
{Sprite|int:-1}
None
No
location
None
No
scale
Angle(0)
No
angle
Scale(1, 1)
No
color
{int:color}
c_white
No
alpha
1
No
frame
{int}
0
No
speed
0
No

Construction types

Name
Arguments
New element
sprite {Sprite}
Wrapper
spriteElement {int:spriteElement}
Empty
Constructor copy
other {Layer.SpriteElement}
⚠️ **GitHub.com Fallback** ⚠️