Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Run Script Without screen refresh lagging out
- Mjake36
-
22 posts
Run Script Without screen refresh lagging out
~~~Issue~~~
i'm trying to make a project with my blocks
but when i ticked “Run Without screen refresh”,
it started lagging really hard.
if anyone can fix this; pls tell me.
edit: stopped using my blocks so closed
P.S: My browser / operating system: Windows NT 10.0, Chrome 103.0.5060.114, No Flash version detected
i'm trying to make a project with my blocks
but when i ticked “Run Without screen refresh”,
it started lagging really hard.
if anyone can fix this; pls tell me.
edit: stopped using my blocks so closed
P.S: My browser / operating system: Windows NT 10.0, Chrome 103.0.5060.114, No Flash version detected
Last edited by Mjake36 (July 17, 2022 20:24:34)
- RL1123
-
1000+ posts
Run Script Without screen refresh lagging out
Can you send the project link? We need more context than that to figure out why it's not working.
- Mjake36
-
22 posts
Run Script Without screen refresh lagging out
aw man it was private ah well ill share it Can you send the project link? We need more context than that to figure out why it's not working.
edit: gone bc i stopped using the blok
Last edited by Mjake36 (July 17, 2022 20:23:46)
- portalpower
-
1000+ posts
Run Script Without screen refresh lagging out
If you have wait blocks or loops that don't end, then it lags. Watch out for these blocks when using that feature:
I would recommend only using that feature for doing things instantly, like doing calculations and creating clones.
forever //never useSo basically, if the custom block runs for more than a fraction of a second, it lags. That includes if something like a repeat until never ends up ending.
end
wait () secs//never use
repeat until <>//use with cation, if it doesn't end it creates lag
end
wait until <>//use with cation, if it doesn't end it creates lag
repeat ()//try to avoid looping over 500 times
end
I would recommend only using that feature for doing things instantly, like doing calculations and creating clones.
- RL1123
-
1000+ posts
Run Script Without screen refresh lagging out
I don't see anything lagging? Which block has the issue?
Here's what I have on my screen:

It's the same thing with the block, but it doesn't seem like you need to use it at all. It works just fine without “run without screen refresh” on.
Here's what I have on my screen:

It's the same thing with the block, but it doesn't seem like you need to use it at all. It works just fine without “run without screen refresh” on.
- Mjake36
-
22 posts
Run Script Without screen refresh lagging out
you didnt check inside; i already stopped using the my block. im gonna close this topic soon. I don't see anything lagging? Which block has the issue?
Here's what I have on my screen:
It's the same thing with the block, but it doesn't seem like you need to use it at all. It works just fine without “run without screen refresh” on.
- Discussion Forums
- » Questions about Scratch
-
» Run Script Without screen refresh lagging out