Purpose

Provides the current layer object.

Syntax

object Layer;

Example

function Update()  { 
    layer = UpdateContext.Layer;
    node = layer.FindNode("Frame Buffer");
    node.SetInt("Attributes.Frame Grab Active", 1);
}