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

#1 2009-07-16 17:19:10

Pokeball
Scratcher
Registered: 2009-05-20
Posts: 8

Problem with Sensing

I'm trying to use the "If X Position of Gravity Cat" sensing block, when I try to drag it into the correct area of the "If" block, it won't load (just floats on top instead of clicking in). Any idea why or what is the correct way to use this command?

Offline

 

#2 2009-07-16 17:38:46

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Re: Problem with Sensing

It depends on the shape of the block.

<if> <( <x position> of Gravity Cat <=>  )>


Discuss future Scratch RPGs, online games, and more!

Offline

 

#3 2009-07-16 20:06:38

iab97
Scratcher
Registered: 2009-04-04
Posts: 100+

Re: Problem with Sensing

SmartIrishKid is right—the blocks with the curved-ends only go INSIDE the blocks with the pointy-ends—which only go into If Blocks and stuff.  wink


-iab97 One of my favorite quotes: "You can't direct the wind, but can adjust your sails." -Unknown

Offline

 

#4 2009-07-16 20:07:29

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Problem with Sensing

Try dragging the if block out of the script and doing it.

Offline

 

#5 2009-07-17 01:56:20

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Problem with Sensing

And, if you want Gravity Cat to do something until he's amused, try this:[blocks]
<repeat until><( <{Amused?}> <=> 1 )>[/blocks]


Converting my Scratch projects to Python!

Offline

 

Board footer