Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Size of sprite resetting
- BarelySmooth
-
Scratcher
1000+ posts
Size of sprite resetting
In a project of mine, when I tried to change the size, it kept resetting to 100.
Demonstration:

My code (for the sprite named “Timer Display”):

It might be a silly mistake I didn't spot, but could anyone help out? Thanks in advance
Demonstration:

My code (for the sprite named “Timer Display”):

It might be a silly mistake I didn't spot, but could anyone help out? Thanks in advance
Last edited by BarelySmooth (Nov. 5, 2021 18:55:23)
- deck26
-
Scratcher
1000+ posts
Size of sprite resetting
The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.
- Infinity-Studios5674
-
Scratcher
100+ posts
Size of sprite resetting
Maybe it’s because you’re sprite is just blank?
- BarelySmooth
-
Scratcher
1000+ posts
Size of sprite resetting
The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.But I am trying to reduce its size.
Maybe it’s because you’re sprite is just blank?The sprite is white in colour.
- EpicGhoul993
-
Scratcher
1000+ posts
Size of sprite resetting
Could you show the costume dimensions? Go to the Costumes tab and you'll see the numbers needed below the costume name.
- Infinity-Studios5674
-
Scratcher
100+ posts
Size of sprite resetting
I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.Maybe it’s because you’re sprite is just blank?The sprite is white in colour.
Last edited by Infinity-Studios5674 (April 13, 2021 12:15:12)
- BarelySmooth
-
Scratcher
1000+ posts
Size of sprite resetting
You're right. I forgot about costume 1! I never knew an empty costume could cause this. I tried changing it to another costume temporarily and it worked fine. Thanks!I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.But I am trying to reduce its size.Maybe it’s because you’re sprite is just blank?The sprite is white in colour.
Reporting to be closed.
Last edited by BarelySmooth (April 13, 2021 12:22:12)
- Infinity-Studios5674
-
Scratcher
100+ posts
Size of sprite resetting
Glad I could help!You're right. I forgot about costume 1! I never knew an empty costume could cause this. I tried changing it to another costume temporarily and it worked fine. Thanks!I checked your project. The costume ‘Costume’ of your sprite ‘Timer Display’ is blank.The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.But I am trying to reduce its size.Maybe it’s because you’re sprite is just blank?The sprite is white in colour.
Reporting to be closed.

- deck26
-
Scratcher
1000+ posts
Size of sprite resetting
Same can happen if the costume is too small - you can't set it below a certain value.The maximum size you can set a sprite to depends on the costume - a small costume can perhaps be set to 400% or more but a large one may not even allow 100%. The workaround is to choose a small costume, set the size and then choose the larger costume.But I am trying to reduce its size.Maybe it’s because you’re sprite is just blank?The sprite is white in colour.
- Discussion Forums
- » Help with Scripts
-
» Size of sprite resetting



