plugsΒΆ

nil plugs ( Node node , [ string type ] , [ string pattern ] )

Iterates over the plugs in a node

Exemple :

-- Iterate over all the plugs of the document called TimeSOMETHING
for plug in plugs (Document, "Plug""Time.+"do
    print (plug:Get ())
end
Arguments:

  • node The node to iterate
  • type A class the children must belong to to be visited by the iterator
  • pattern A Lua's pattern used to check the name of the node. See Lua's pattern documentation.