VEX Dictionary / agentfindlayer
agentfindlayer
Looks up a layer by name in an agent primitive's definition and returns its index.
group: crowdcrowdslayer
Available in every context
Usage
int agentfindlayer(<geometry>, int prim, string layername)
Examples
No worked examples yet.
Signatures (from vcc -X)
int agentfindlayer(int, int, string)all contextsint agentfindlayer(string, int, string)all contexts