# \[Solved\] Is there some reason why my blocks might start to lag?

**URL:** <https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [November 10, 2018, 5:39pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876 "2018-11-10T17:39:17Z")\
**Posts on this page:** 20\
**Page:** 11

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 17, 2019, 4:18pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/204 "2019-07-17T16:18:18Z")

</div>

You can place these blocks on the initialization screen, which should consist only of these blocks. I think that the problem may be related to the fact that these blocks are visible throughout the entire application and when changing any screen, it need to check references to these variables on all screens.

---

<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:** [July 17, 2019, 4:20pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/205 "2019-07-17T16:20:38Z")

</div>

Would the best fix for Thunkable X be that after i amount of blocks are placed, have a manual compiler. So it isn’t compiling every time there is a change. Or would this **not** fix the issue.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 17, 2019, 4:21pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/206 "2019-07-17T16:21:31Z")

</div>

I have never heard of such a method.

---

<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:** [July 17, 2019, 4:22pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/207 "2019-07-17T16:22:09Z")

</div>

What I mean, is that they could implement it…

So it is not a feature, but should be. Do you get me?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 17, 2019, 4:25pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/208 "2019-07-17T16:25:49Z")

</div>

I think it is difficult to do. I don’t know how the Thunkable engine works, but I think that its work is based on tracking and compiling every change. If you use a manual compiler, then this will require the implementation of client code in the browser. Otherwise, how will you track changes to undo them. And since the platform code is closed, all changes go through the server.

---

<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:** [July 17, 2019, 4:28pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/209 "2019-07-17T16:28:26Z")

</div>

hmm, I see what you mean now. It would mean almost re developing the entire engine. So in short, there is no easy fix.

So the lag will remain for quite some time.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 17, 2019, 4:32pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/210 "2019-07-17T16:32:59Z")

</div>

Mark said that they seem to know the cause of the slow working. It remains to wait when they can improve it.

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [July 17, 2019, 4:39pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/211 "2019-07-17T16:39:13Z")

</div>

Please just to make it clear, when I mean by been slow, I meant when you try to drag blocks around, it hung for few seconds before responding. When I go to another screen with fewer blocks, response is much better than screen with lots of blocks

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 17, 2019, 4:41pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/212 "2019-07-17T16:41:38Z")

</div>

Yes, I am talking about it. Move all the initialization blocks to a separate blank screen and you will immediately see that dragging blocks on screens where these blocks do not exist has accelerated.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [July 18, 2019, 12:29am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/213 "2019-07-18T00:29:19Z")

</div>

> [@OMG..Any component block tada](https://community.thunkable.com/t/omg-any-component-block/144511/17):
>
> Using the function blocks, you can create variables using them, then delete the blocks once done and continue to use the variables.

Please don’t do this. This is not a supported feature and may go away at any time. At some point we will treat those parameters as local variables and make sure that they are only used within their proper scope.

-Mark

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [July 18, 2019, 12:32am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/214 "2019-07-18T00:32:28Z")

</div>

Please try not to hijack this thread about the ‘Any/Generic’ blocks and make it about the slowness of the blocks editor 😉 I believe that we have other threads about that topic already, although you are free to start another one and I might comment there in some more detail.

-Mark

---

<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:** [July 18, 2019, 12:33am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/215 "2019-07-18T00:33:58Z")

</div>

Apologies.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [July 18, 2019, 12:38am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/216 "2019-07-18T00:38:20Z")

</div>

> [@OMG..Any component block tada](https://community.thunkable.com/t/omg-any-component-block/144511/13):
>
> For some reason, I feel like this is a feature they didn’t mean to release yet 😛 As it isn’t in [Release Notes](https://docs.thunkable.com/release-notes).

It is now!

-Mark

---

<div class="post-metadata">

**Author:** ![11131](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/11131/32/6940_2.png) [@11131](https://community.thunkable.com/u/11131)\
**Post date:** [March 26, 2018, 10:29am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/217 "2018-03-26T10:29:23Z")

</div>

My App has a serious problem, When I open a screen that has more than 2000 blocks, the app will run much slower then other screen.

---

<div class="post-metadata">

**Author:** ![11131](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/11131/32/6940_2.png) [@11131](https://community.thunkable.com/u/11131)\
**Post date:** [March 26, 2018, 10:29am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/218 "2018-03-26T10:29:55Z")

</div>

I want to know why will happen this . Is my screen has too much blocks? or other reason.

---

<div class="post-metadata">

**Author:** ![11131](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/11131/32/6940_2.png) [@11131](https://community.thunkable.com/u/11131)\
**Post date:** [March 26, 2018, 10:31am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/219 "2018-03-26T10:31:00Z")

</div>

PS. I have 9 screens . But other screen Will not so slow.

---

<div class="post-metadata">

**Author:** ![Nico\_Marikucza](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nico_marikucza/32/15365_2.png) [@Nico\_Marikucza](https://community.thunkable.com/u/Nico_Marikucza)\
**Post date:** [March 26, 2018, 10:50am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/220 "2018-03-26T10:50:30Z")

</div>

> [@On another topic](https://community.thunkable.com/t/20490/3):
>
> I have 9 screens

Beware. Use as few screens as possible.

> [@11131](#):
>
> screen that has more than 2000 blocks

Do you really need more than 2000 blocks? Try to reduce the blocks as much as possible.  
Nico

---

<div class="post-metadata">

**Author:** ![11131](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/11131/32/6940_2.png) [@11131](https://community.thunkable.com/u/11131)\
**Post date:** [March 26, 2018, 10:53am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/221 "2018-03-26T10:53:12Z")

</div>

Yes. I have reduce the blocks before . But it is still slow. Do you think to make more screen to reduce the blocks in this screen is a good idea ?

---

<div class="post-metadata">

**Author:** ![Nico\_Marikucza](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nico_marikucza/32/15365_2.png) [@Nico\_Marikucza](https://community.thunkable.com/u/Nico_Marikucza)\
**Post date:** [March 26, 2018, 10:54am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/222 "2018-03-26T10:54:03Z")

</div>

No.  
Please send us the aia file.

Nico

---

<div class="post-metadata">

**Author:** ![11131](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/11131/32/6940_2.png) [@11131](https://community.thunkable.com/u/11131)\
**Post date:** [March 26, 2018, 10:57am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/223 "2018-03-26T10:57:44Z")

</div>

[LuoBo\_Chat.aia](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/8/68fcf0374aafaddf9dc06a20fc004f2ea1bff7a0.aia) (2.5 MB)  
thank you for your help

[Previous page](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876.md?page=10)

[Next page](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876.md?page=12)
