# How to set Text of a dynamically created Label in Drag and Drop?

**URL:** <https://community.thunkable.com/t/how-to-set-text-of-a-dynamically-created-label-in-drag-and-drop/3928127>\
**Category:** Issues / Bugs\
**Created:** [June 16, 2025, 8:04pm UTC](https://community.thunkable.com/t/how-to-set-text-of-a-dynamically-created-label-in-drag-and-drop/3928127 "2025-06-16T20:04:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matteo.cortepoitih](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@matteo.cortepoitih](https://community.thunkable.com/u/matteo.cortepoitih)\
**Post date:** [June 16, 2025, 8:04pm UTC](https://community.thunkable.com/t/how-to-set-text-of-a-dynamically-created-label-in-drag-and-drop/3928127/1 "2025-06-16T20:04:05Z")

</div>

Hello everyone,

I’m trying to create a dynamic list from an API response in the **Drag and Drop interface**.

My plan is to loop through my data and, for each item, create a new Label component to display a title. I am successfully using the **`create`** block from the `Advanced` → `Any Component` category inside a `for each` loop.

The **`create`** block gives me a green **`component`** variable in its `then do` section, which represents the new Label.

**My problem is:** I cannot find the correct block to change the **`Text`** property of this new `component`. I have looked for a block like `set Text of component...` but I can’t find one that works with the dynamic `component` variable.

**My question is:** What is the correct way to set the `Text` (and other properties like `Color`, `FontSize`) of a component that has just been created with the `create` block?

Here is a screenshot of my blocks. How can I modify the new green `component`?  
Thanks in advance for your help!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7ba585e06a9812b732bf190f5bfc19473906c39a.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 17, 2025, 7:41pm UTC](https://community.thunkable.com/t/how-to-set-text-of-a-dynamically-created-label-in-drag-and-drop/3928127/2 "2025-06-17T19:41:12Z")

</div>

There’s an example in the Any Component documentation for a button’s text but you can apply the same set up for a label’s text, etc.

> **["Any Component" Blocks | Thunkable Docs](https://docs.thunkable.com/blocks/advanced-app-features/any-component-blocks)**
