Discuss Scratch
- Discussion Forums
- » Suggestions
- » Set default sprite position to x:0 y:0
- NintendoSwitch02
-
Scratcher
10 posts
Set default sprite position to x:0 y:0
This used to be a thing. I don't know why they changed it. Scratch 3 used to be blue and each sprite would start at 0,0. However, ever since scratch turned purple, it's been 32, 32. I'm not sure why they changed it, but I think 0,0 is a good idea.
- medians
-
Scratcher
1000+ posts
Set default sprite position to x:0 y:0
This used to be a thing. I don't know why they changed it. Scratch 3 used to be blue and each sprite would start at 0,0. However, ever since scratch turned purple, it's been 32, 32. I'm not sure why they changed it, but I think 0,0 is a good idea.1. It's actually 36,28 instead of 32,32.
2. I don't know if this was intentional or not, but the 36,28 thing already existed before Scratch 3.0 became purple because the blank sprite has a “scratchX” property of 36 and a “scratchY” property of 28. I think that they just created a blank sprite in 2.0 or a 3.0 prototype, as scratchX and scratchY are used by 2.0 sprites, while x and y are used by 3.0 sprites. The reason I don't know if it is intentional is because all other sprites have a randomized position, like in Scratch 2.0.
Here's proof that this already was a thing before Scratch 3.0 became purple too:
https://github.com/scratchfoundation/scratch-gui/blob/8a7a95e5c3b70783006de3b849be1a1a239548c5/src/lib/randomize-sprite-position.js#L4 (this does not run for blank sprites, which are sprites created with the paintbrush, but runs for all other new sprites). You can see the history part as well
https://github.com/scratchfoundation/scratch-gui/blob/8a7a95e5c3b70783006de3b849be1a1a239548c5/src/lib/empty-assets.js#L51 Empty assets (you can see that it was updated before the purple update)
Also, you can download a 2.0 sprite vs a 3.0 sprite and convert each to a “.zip” file to see that 2.0 sprites use “scratchX” and “scratchY”, while 3.0 sprites use “x” and “y”. I don't know if they just never bothered to update it.
Last edited by medians (July 12, 2025 14:52:42)
- Discussion Forums
- » Suggestions
-
» Set default sprite position to x:0 y:0

