Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

nameOrIDThe name or ID of the parameter.string or number
valueThe value you want to set in the normalized range from 0 to 1.0.number

Example

Code Block
-- set the normalized value of the parent layer's level parameter
function onLoadIntoSlot()
    this.parent:setParameterNormalized("Level", 0.5) -- set via name
    this.parent:setParameterNormalized(38, 0.5) -- set via ID
end

...