# Example Expressions

There are technically three different types of expressions you can save.

## Standard Expression

Standard expressions use no [**custom functions**](/adding-custom-controls/custom-functions.md). They are what we describe as just an expression. These need no unquie set-up and can be saved straight from the property without any problems

{% content-ref url="/pages/-Lq1iQd7Ts9xXUoJb2vy" %}
[Standard Expression](/adding-custom-controls/example-expression/standard-expression.md)
{% endcontent-ref %}

## Expression With thisLayer

Expressions that use the keyword [**thisLayer**](/adding-custom-controls/thislayer-and-master-layers.md#what-is-thislayer) and connect to an effect need no adjustments inside the expression itself. But, do need [**functions**](/adding-custom-controls/custom-functions.md) to be set-up correctly.

{% content-ref url="/pages/-Lq1iUbeXNKmTLWOZ-wK" %}
[Expression with thisLayer Controls](/adding-custom-controls/example-expression/expression-with-thislayer-controls.md)
{% endcontent-ref %}

## Expression With Master

Using expressions with a master layer need some initial set-up and code to be able to run correctly. The most important part is that `var master = thisComp.layer("master layer name");` needs to be added below the [**custom functions**](/interface-overview/expression-functions.md)

{% content-ref url="/pages/-Lq1iY655SOX-ziux-zq" %}
[Expression With Master Controls](/adding-custom-controls/example-expression/expression-with-master-controls.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.expression-library.bearstudios.co.uk/adding-custom-controls/example-expression.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
