This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-30 12:18:34

xGluttony
Scratcher
Registered: 2011-05-03
Posts: 25

How do i know the X and Y of a sprite

How do i know it pls help. How do i know the X and Y of a sprite


http://i55.tinypic.com/2mcx6x5_th.jpg

Offline

 

#2 2011-12-30 12:50:53

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: How do i know the X and Y of a sprite

It depends on which sprite you're looking for it.  If you're looking for the value to use, it's at the bottom of the motion blocks.  If you're just looking for it to know it, look at the top of sprite scripting area and it should be in that area.  If you want to use the value of another sprite's x and y values inside a sprite you're using, go to sensing look for the block in the middle.

Here's the places you can look for it:
http://i42.tinypic.com/2nbaouw.png http://i44.tinypic.com/fk1s76.png
http://i44.tinypic.com/tak5ci.png

Ok, Sorry about the images, I forgot they're disabled.

Last edited by AtomicBawm3 (2011-12-30 12:54:41)


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2011-12-30 14:50:45

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How do i know the X and Y of a sprite

For the coordinates of other sprites, use these:
http://i40.tinypic.com/nevnr4.png
For the coordinates of the sprite you're using, use these:
http://i40.tinypic.com/nevnr4.png
Oh, and because of the stupid troll attacks I couldn't post the images, so I just gave you the link  smile


Why

Offline

 

#4 2011-12-30 15:10:43

WingsGames
Scratcher
Registered: 2011-02-21
Posts: 500+

Re: How do i know the X and Y of a sprite

Go to the sprite's motion section. In the "go to" box, there'll be coordinates. These coordinates are the sprite's current location.


Are you an aspiring home decorator? If so, please answer my question!

Offline

 

#5 2011-12-30 18:56:12

juliabrookek
Scratcher
Registered: 2011-07-18
Posts: 100+

Re: How do i know the X and Y of a sprite

Click on 'Motion' in the block catergories. Then, you should see a block that says 'go to x:___ y:___' that tells you the coordinates.


smile http://dragcave.net/image/rgNE5.gif smile

Offline

 

Board footer