Optionaluuid: stringLayer offset from the top left corner of the texture to the top left corner of the layer
Layer scale. This is only used by the layer transform tool and should be applied and reset to 1x1 before doing further changes
StaticallGet all layers of the active texture
StaticselectedGet the selected layer
Add the layer to the associated texture above the previously selected layer, select this layer, and scroll the layer panel list to it
Centers the layer on the texture
Flip the texture along an axis
Flip axis, where 0 is X and 1 is Y
Create an undo entry
Merge this texture onto the texture below
Create an undo entry
Open the properties dialog
Remove the layer
Create an undo point and update the texture
Resolves the limbo state by turning the limbo layer into a full layer, or merging it into the layer below
If true, the layer is kept as a separate layer
Rotate the layer around itself in 90 degree steps
Angle in degrees
Create an undo entry
Scroll the layer panel list to
Selects the layer
Set the layer into a limbo state, where clicking Place or clicking next to the layer will place it on the layer below
Set the layer size. This resizes the canvas, which discards the layer content
Toggle layer visibility. This creates an undo point
Texture layers always belong to a texture and represent the layers of the texture. Each layer has its own HTML canvas and canvas context