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

Description

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

Specification

Destruction
Elements
Layer.BackgroundElement.destroy()
None

Properties

Name
Type
Default
Modifiable
parent
other
No
ID
{int:backgroundElement}
None
No
sprite
{Sprite|int:-1}
undefined
No
visible
true
No
stretch
false
No
tiled_x
false
No
tiled_y
false
No
scale
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
backgroundElement {int:backgroundElement}
Empty
Constructor copy
other {Layer.BackgroundElement}
⚠️ **GitHub.com Fallback** ⚠️