Discuss Scratch

girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

I am making a project and I want one of my sprite to do this
whenthisspriteclickedgotox:y:0


But when I put in a x and y axis it goes into a totally different place. How do I figure out what numbers to put? And I looked on the bottom right hand corner of the screen where it says the x and y axis. I really need help!!
JJman10
Scratcher
34 posts

Go to x: y:?? I dont know.. HELP!!

If you drag that sprite to the place you want it, in the top right-hand corner of the Scratch blocks place, you can see the x and y coordinates. If you are looking at the bottom right-hand corner of the screen, that is where your mouse is, not the sprite. I hope that helps!
girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

JJman10 wrote:

If you drag that sprite to the place you want it, in the top right-hand corner of the Scratch blocks place, you can see the x and y coordinates. If you are looking at the bottom right-hand corner of the screen, that is where your mouse is, not the sprite. I hope that helps!
OMG That helps SO much!! Thanks!! You are a lifesaver!!
girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

JJman10 wrote:

If you drag that sprite to the place you want it, in the top right-hand corner of the Scratch blocks place, you can see the x and y coordinates. If you are looking at the bottom right-hand corner of the screen, that is where your mouse is, not the sprite. I hope that helps!
Now that I added that I want to put
whenIreceivegotox:y:0

Then:

whenthisspriteclickedgotox:y:0

But it is not working. Why? Can you help?
CatsUnited
Scratcher
1000+ posts

Go to x: y:?? I dont know.. HELP!!

Can you share the project? What's the broadcast name that's for the “when I receive” block?
girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

CatsUnited wrote:

Can you share the project? What's the broadcast name that's for the “when I receive” block?
I would rather not share it when I am not even close to done. Also it is message2 or something. I fixed it though

Last edited by girrafes1123 (Nov. 25, 2015 00:10:26)

CatsUnited
Scratcher
1000+ posts

Go to x: y:?? I dont know.. HELP!!

girrafes1123 wrote:

CatsUnited wrote:

Can you share the project? What's the broadcast name that's for the “when I receive” block?
I would rather not share it when I am not even close to done. Also it is message2 or something. I fixed it though
That's fine, just be more descriptive when you need help.
girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

CatsUnited wrote:

girrafes1123 wrote:

CatsUnited wrote:

Can you share the project? What's the broadcast name that's for the “when I receive” block?
I would rather not share it when I am not even close to done. Also it is message2 or something. I fixed it though
That's fine, just be more descriptive when you need help.
I was descriptive thank you very much
quaris
Scratcher
42 posts

Go to x: y:?? I dont know.. HELP!!

Sometimes I have trouble getting sprites to go where I want because the center of the costume is off.

When you're in the costumes tab, with a picture of the sprite showing, you might also notice a small cross in the middle of the checkerboard background. This is the center of the costume, and that is the point that will go to the coordinates in the go-to block. So if the center is off, the sprite will go to the side of the coordinates listed, not directly on top of it.

There is a “Set costume center” button in the far upper right corner in vector mode–two black axes will appear, and you can click where you want the center to be.
girrafes1123
Scratcher
95 posts

Go to x: y:?? I dont know.. HELP!!

quaris wrote:

Sometimes I have trouble getting sprites to go where I want because the center of the costume is off.

When you're in the costumes tab, with a picture of the sprite showing, you might also notice a small cross in the middle of the checkerboard background. This is the center of the costume, and that is the point that will go to the coordinates in the go-to block. So if the center is off, the sprite will go to the side of the coordinates listed, not directly on top of it.

There is a “Set costume center” button in the far upper right corner in vector mode–two black axes will appear, and you can click where you want the center to be.
Thanks

Powered by DjangoBB