Referencing objects
This example shows how to reference objects in script. When in the script editor, a great tip is to press Control while you click on an object you want to reference. LC Designer will automatically insert the reference for you.
You can read all about SOM expressions here and explore the example provided.