LayerSetAction

LayerSetAction(azione, layers: PrtArray | lista)

This function enables the execution of a single action on multiple layers. Pass the layers as lua table (as list of names)

Layername in ingresso può essere sia standard LUA 4 che unicode.

For the action pass the two letters: TH (thaw), FR (freeze), ON (on), OF (off), LO (locked), UL (unlocked)

 

Esempio 1. Esempio LayerSetAction

-- esegue una callback su ogni layer che corrisponde al pattern
LayerSetAction("*", function(nome) print("\n" .. nome) end)