Layer
      
  
  Purpose
  #
Provides the current layer object.
  Syntax
  #
  Example
  #
function Update()
{ 
    layer = UpdateContext.Layer;
    node = layer.FindNode("Frame Buffer");
    node.SetInt("Attributes.Frame Grab Active", 1);
}
  Please note this is a member variable of UpdateContext, not a function.