# Property editing

In TRIK Studio, there are two ways to edit property values ​​of blocks and links between them:

1. [Using Property Editor panel](/en/studio/programming-visual/editing-element-properties.md#panel).
2. [Directly on the diagram](/en/studio/programming-visual/editing-element-properties.md#diagram).

{% hint style="warning" %}
**Attention!** Editing the properties of the block [Subprogram](/en/studio/programming-visual/blocks.md#subprogram) is carried out only using the context menu.
{% endhint %}

## Using Property Editor panel <a href="#panel" id="panel"></a>

When a block, link, or element is selected, all the properties of the current element are displayed on the [Property Editor](/en/studio/interface.md#panel-property-editor) panel.

![](/files/-MUQCPJ45C0PkA0_wTlu)

The property editor is a table. In the left column, the property name of the element is displayed, in the right - its value.

You can change the value of any property by clicking on the corresponding cell in the right column and entering the desired value.

For properties that allow only a specific set of values, for example, the “Port” property of the "[Wait for IR distance sensor](/en/trik/programming-visual/blocks.md#wait-for-infrared-distance)" block, when you try to edit them, a drop-down menu will appear where the desired value is selected:

![](/files/-MUQCUEqWuf2q5SReBrn)

## Property editing on the diagram <a href="#diagram" id="diagram"></a>

To edit properties directly on the diagram:

1. Hover over the value of the desired property.
2. Double-click the left mouse button to activate editing properties.
3. Enter the desired value.
4. Click on any place in the scene.

![](/files/-MUQCXhHe9RNDYGnIBt5)

{% hint style="danger" %}
**Attention!** This approach can serve as a source of errors, because it allows you to enter an arbitrary text value of the property, including the incorrect one. Be careful.
{% endhint %}


---

# 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://help.trikset.com/en/studio/programming-visual/editing-element-properties.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.
