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

#1 2011-08-02 03:34:58

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Click sprite with variable on it?

If I were to make a button sprite and put a variable on it, if I clicked on the variable, would the button sensed being clicked? Right now I'm traveling and anxious to know...

Offline

 

#2 2011-08-02 03:40:34

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Click sprite with variable on it?

I think not... certainly not offline, but maybe online, and maybe in presentation mode... I think it would sense being clicked  hmm


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#3 2011-08-02 04:37:40

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Click sprite with variable on it?

^^what he said  smile


http://i.imgur.com/zeIZW.png

Offline

 

#4 2011-08-02 04:48:58

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: Click sprite with variable on it?

I think when the variable's floating over the sprite, you can't click the sprite through the variable.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#5 2011-08-02 10:51:45

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Click sprite with variable on it?

It doesn't work offline or online.  Here is an example of it.

Actually, if you used this script for the sprite it would work.

Start
Forever If <Touching[mouse-pointer]>and<mouse down>
Change [Variable] By 1
Wait until <not<mouse down>

Last edited by laptop97 (2011-08-02 11:14:43)

Offline

 

#6 2011-08-02 14:54:12

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Click sprite with variable on it?

Okay, thanks, I think I can get that to work.

Offline

 

Board footer