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

#1 2013-04-29 20:43:38

canadiandufus
New Scratcher
Registered: 2013-04-11
Posts: 10

No dragging sprites. please help.

Hey peoples, i was wondering how you make your sprite so that you cant drag it when you click the green flag, if you could tell me that would be nice

Offline

 

#2 2013-04-29 21:01:35

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: No dragging sprites. please help.

Well, every sprite is draggable in editing mode because this way you can easily move sprites where you need to be. This can't really be changed, though don't worry; this won't trail over onto the website once you upload. Also, you could try going into full-screen mode to avoid this. To do that, all you need to do is click the upper-right most button there is.

Well, I hope that this helps!  smile

With regards,

ErnieParke


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2013-04-29 21:29:48

canadiandufus
New Scratcher
Registered: 2013-04-11
Posts: 10

Re: No dragging sprites. please help.

oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart

Offline

 

#4 2013-04-29 21:32:00

Hyperbola
Scratcher
Registered: 2013-03-15
Posts: 100+

Re: No dragging sprites. please help.

canadiandufus wrote:

oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart

Click the little lock above the script area.


Tip of the whatever: Don't post in threads older than 2 weeks unless your post will actually be useful.
It's the last day of 1.4! *cries* (quote from NeilWest, rest by me) by the time you read this it probably will be 2.0  sad

Offline

 

#5 2013-04-30 11:16:37

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: No dragging sprites. please help.

canadiandufus wrote:

oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart

To the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.  smile

Regards,

CAA14

Offline

 

#6 2013-04-30 17:25:59

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: No dragging sprites. please help.

CAA14 wrote:

canadiandufus wrote:

oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart

To the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.  smile

Regards,

CAA14

Well what CAA14 showed you is a possibility, though if you use it, then there's no way to stop a sprite from being draggable. If you ever need to disable dragging for a moment during your program, then you can use this instead:

set [Offset X v] to ((x position) - (mouse x))
set [Offset Y v] to ((y position) - (mouse y))
repeat until (done?)
 go to x: ((mouse x) + (Offset X)) y: ((mouse y) + (Offset Y))
end

A more simpler, though jumpier method, is this script:

repeat until (done?)
 go to x: (mouse x) y: (mouse y)
end

Well, I hope that this helps!

With regards,

ErnieParke


http://i46.tinypic.com/35ismmc.png

Offline

 

#7 2013-04-30 18:33:46

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: No dragging sprites. please help.

ErnieParke wrote:

CAA14 wrote:

canadiandufus wrote:

oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart

To the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.  smile

Regards,

CAA14

A more simpler, though jumpier method, is this script:

repeat until (done?)
 go to x: (mouse x) y: (mouse y)
end

Well, I hope that this helps!

With regards,

ErnieParke

I was thinking about saying that.  wink

And Ernie's right, if you want the sprite to become none draggable, and then draggable, and then none again, you need one of the above scripts.  smile

Regards,

CAA14

Offline

 

#8 2013-05-02 12:32:55

joshuaho
Scratcher
Registered: 2012-08-20
Posts: 100+

Re: No dragging sprites. please help.

canadiandufus wrote:

Hey peoples, i was wondering how you make your sprite so that you cant drag it when you click the green flag, if you could tell me that would be nice

You can only drag it when you are making the project. If you share the project, the sprites can't be dragged unless you click the drag option button beside your sprite name.


Did you know that you can go to space and see Mars by clicking here?

Offline

 

Board footer