Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 39 Next »

setParameter(nameOrID, value)


Function to set the value of a parameter. The parameter can be determined by name or ID. The function will do nothing if the parameter doesn't exist.

Available in: Controller, Processor.


nameOrIDThe name or ID of the parameter.string or number
valueThe value you want to set.The new value must match the data type of the parameter.


-- set the value of the Level parameter of the parent layer
function onLoadIntoSlot()
    this.parent:setParameter("Level", 0) -- set via name
    this.parent:setParameter(38, 0) -- set via ID

  • No labels