# Block Code Container Feature

**URL:** <https://community.thunkable.com/t/block-code-container-feature/590739>\
**Category:** Feedback\
**Created:** [May 30, 2020, 9:36am UTC](https://community.thunkable.com/t/block-code-container-feature/590739 "2020-05-30T09:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [May 30, 2020, 9:36am UTC](https://community.thunkable.com/t/block-code-container-feature/590739/1 "2020-05-30T09:36:46Z")

</div>

What about a “Container” to wrap a big part of blocks so to let the user move it somewhere in the screen (in an unique action)?? It could be usefull to move variable definition for example. Just wrap them in a Container block. Actually i use this tricks for code blocks. I put all the code in a function block and move it all together or, just to speed up the copy, i put all the blocks i need into a function block, copy the block and then remove the function block…🙂

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [May 30, 2020, 12:39pm UTC](https://community.thunkable.com/t/block-code-container-feature/590739/2 "2020-05-30T12:39:20Z")

</div>

Hey @sirfrancisdrake,

You could achieve something like this with [functions](https://docs.thunkable.com/functions).

You can also collapse blocks by right clicking on them and selecting collapse.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/b/abea2998aa5aee5948f2f7f0a84ce00806498aee.png)  
This will turn any amount of nested blocks into the size of one block. This is great for when you have working code that doesn’t need touched, and it can be moved out of your way.

Is this what you were looking for?

---

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [May 30, 2020, 2:31pm UTC](https://community.thunkable.com/t/block-code-container-feature/590739/3 "2020-05-30T14:31:52Z")

</div>

Sorry i think i sent the answer as PM by email!! I apologize!! Doing it for the community in the response email i said:

yes i know the collapse function…however i was thinking as a sort of basket expacially for variable declarations… if you have to move them you need to do one by one. If you collect them into a container than you move all together!

![image.png](https://mail.google.com/mail/u/0?ui=2&ik=c570029ac7&attid=0.1&permmsgid=msg-a:r134862517414271473&th=17265b91e700684b&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ9TJFItd4a7fYEKdwb7UHHU3HC62dE8o0Mh8Kb_JzNy6br9K7sy2LyjxU8XwmWVdrB4vpFoiBDWviGvvSOZMX6mXOC-gImty20Zb7DmBhsLvPah-hk9SMV4gRE&disp=emb&realattid=ii_katnpfir0)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/block-code-container-feature/590739/4 "2024-11-08T11:28:55Z")

</div>


