Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Reporting 'Size' bugs. edit: fixed.
- 5velvet
-
Scratcher
45 posts
Reporting 'Size' bugs. edit: fixed.
So, I'm working on a project and in one of the sprites, I added a size block - the code looks similar to this:
repeat (10)
change size by (1)
wait (.3) secs
end
and when I play the whole thing, it suddenly reduces the sprite size to 52! I tried to duplicate that and make it work but failed. I copied the art and pasted it in a new sprite, coded the exact same code and used the new sprite instead, but that didn't do any good either.
Surprisingly, this happened with just this sprite, I had the exact same code in another sprite as well, but that was all good, no bugs.
ST, I really hope you look into this and fix this, cause it's really annoying and close to impossible(yea, maybe not “impossible” but still) to finish my project without using the size code. The size code would really save my time, energy, and sanity.
And, if anybody has a solution to this, don't hesitate to reply down below!
Also, I doubt this has got to do with any of my OS or browser. This seems more like a common bug; I found another forum with the exact same issue.
edit: I figured out that my vector art made in the editor was bigger than the size it had to be. Therefore, to fit all of the image/art in the screen resolution of scratch(480*360) or so, when used the size tool as it couldn't further be enlarged, it shrank. Many those who have this issue can reduce the size of your image in the editor or delete certain unnecessary parts that stick out of the box in the vector editor. Then your problem will be solved.
Last edited by 5velvet (Aug. 26, 2021 09:33:19)
- Wei-ern_520
-
Scratcher
500+ posts
Reporting 'Size' bugs. edit: fixed.
My browser / operating system: Windows 7, Chrome 92.0.4515.159, No Flash version detectedHi, this is implemented to avoid scratchers from losing their sprites. Instead you can do so under a run without screen refresh block like this:
So, I'm working on a project and in one of the sprites, I added a size block - the code looks similar to this:repeat (10)
change size by (1)
wait (.3) secs
end
and when I play the whole thing, it suddenly reduces the sprite size to 52! I tried to duplicate that and make it work but failed. I copied the art and pasted it in a new sprite, coded the exact same code and used the new sprite instead, but that didn't do any good either.
Surprisingly, this happened with just this sprite, I had the exact same code in another sprite as well, but that was all good, no bugs.
ST, I really hope you look into this and fix this, cause it's really annoying and close to impossible(yea, maybe not “impossible” but still) to finish my project without using the size code. The size code would really save my time, energy, and sanity.
And, if anybody has a solution to this, don't hesitate to reply down below!
Also, I doubt this has got to do with any of my OS or browser. This seems more like a common bug; I found another forum with the exact same issue.
define hack size
switch costume to [a blank 0x0 costume v]
set size to (as big as you want) %
switch costume to [your original costume v]
Last edited by Wei-ern_520 (Aug. 25, 2021 06:29:53)
- 5velvet
-
Scratcher
45 posts
Reporting 'Size' bugs. edit: fixed.
Hi, this is implemented to avoid scratchers from losing their sprites. Instead you can do so under a run without screen refresh block like this:define hack size
switch costume to [a blank 0x0 costume v]
set size to (as big as you want) %
switch costume to [your original costume v]
hey! thanks for helping out! I'll look into that.
Also, I just found out that the sprite that was made in the vector editor was seemingly bigger than it had to be, and hence it was reducing the size automatically to fit the scratch screen resolution of 480*360. I reduced the size of some parts which were big and came out of the box in the editor and it all worked just fine!
But I really appreciate your support! thanks

Last edited by 5velvet (Aug. 25, 2021 06:53:55)
- Wei-ern_520
-
Scratcher
500+ posts
Reporting 'Size' bugs. edit: fixed.
No problem.
hey! thanks for helping out! I'll look into that.
Also, I just found out that the sprite that was made in the vector editor was seemingly bigger than it had to be, and hence it was reducing the size automatically to fit the scratch screen resolution of 480*360. I reduced the size of some parts which were big and came out of the box in the editor and it all worked just fine!
But I really appreciate your support! thanks
- Chiroyce
-
Scratcher
1000+ posts
Reporting 'Size' bugs. edit: fixed.
— https://en.scratch-wiki.info/wiki/Size_(value)#Limitations —

— https://en.scratch-wiki.info/wiki/Overriding_the_Costume_Size_Limit
The minimum and maximum sizes of sprites vary depending on its default size and its shape: the minimum is the smallest size at which the dimensions of the sprite are both at least 5, and the maximum is the largest size at which at most one third of either dimension of the sprite is off-screen when the sprite is in the center. In a 1x1 pixel sprite, the size value can be set to a maximum of 54000%. The limit can be avoided.

— https://en.scratch-wiki.info/wiki/Overriding_the_Costume_Size_Limit
- WindowsWhiz1234
-
Scratcher
100+ posts
Reporting 'Size' bugs. edit: fixed.
-snip-Then keep that one going if it isn't a dead topic. Otherwise this is a duplicate.
I found another forum with the exact same issue.
- 5velvet
-
Scratcher
45 posts
Reporting 'Size' bugs. edit: fixed.
-snip-Then keep that one going if it isn't a dead topic. Otherwise this is a duplicate.
I found another forum with the exact same issue.
no that was a pretty old one, and replying there didn't seem any use as it was quite old. No, this isn't a duplicate
- WindowsWhiz1234
-
Scratcher
100+ posts
Reporting 'Size' bugs. edit: fixed.
no that was a pretty old one, and replying there didn't seem any use as it was quite old. No, this isn't a duplicateOK, well if it's fixed then I'll report it to be closed.
- Discussion Forums
- » Bugs and Glitches
-
» Reporting 'Size' bugs. edit: fixed.



