From ba3300641778dcd582579dffb9fa4d24aedc6347 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Thu, 3 Nov 2016 22:43:27 +0100 Subject: [PATCH] Updated Layers (markdown) --- Layers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Layers.md b/Layers.md index 3d8eb87..d45f076 100644 --- a/Layers.md +++ b/Layers.md @@ -18,6 +18,12 @@ Once you've used the Profile variable to get a layer, you can access it's proper | BrushType | string | Returns brush type of the layer. | Yes | No | | Brush | brush | Returns or sets brush of the layer. | Yes | Yes | +#### Example: +```lua +local layer = Profile.GetLayerByName("Test layer 1"); +print(layer.Name) +``` + ## Functions ### GetLayers Returns all layers within the profile