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

#1 2012-11-10 19:26:43

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

what is the "set class of [] to []" block for ?

What is it for ?

set class of [] to []


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#2 2012-11-11 05:44:38

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: what is the "set class of [] to []" block for ?

Where is this?

Offline

 

#3 2012-11-11 06:14:55

soniku3
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: what is the "set class of [] to []" block for ?

I don't see it on Scratch 1.4.


internet's all about cats today.

Offline

 

#4 2012-11-11 06:59:07

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: what is the "set class of [] to []" block for ?

soniku3 wrote:

I don't see it on Scratch 1.4.

This is a 2.0 block, so I really don't think that anybody will find it in 1.4 !



scimonster wrote:

Where is this ?

In scratch 2.0.

Last edited by dvd4 (2012-11-11 07:00:55)


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#5 2012-11-11 08:09:06

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: what is the "set class of [] to []" block for ?

Oh, just noticed it. It looks like it's for DOM interaction, but i'm not sure how to use it.

Offline

 

#6 2012-11-11 17:45:16

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

Re: what is the "set class of [] to []" block for ?

I would think it's to have a class of a sprite, and perhaps later you can use it to detect like "if touching a sprite of class _"?

Offline

 

#7 2012-11-12 20:59:56

Agg725
Scratcher
Registered: 2012-03-13
Posts: 500+

Re: what is the "set class of [] to []" block for ?

for some reason I thought it meant what grade you were in and what year you graduate from high school. (I'm in the class of 2019, for example)

EDIT: but I'm guessing that is not what it is.

Last edited by Agg725 (2012-11-12 21:00:26)


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

Offline

 

Board footer