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

#1 2010-06-21 10:36:37

krag
New Scratcher
Registered: 2010-06-21
Posts: 3

Disabling the mouse

I was searching earlier and couldn't see any hints on how to stop people using the mouse. Well, I've found a solution, but it stops the whole project:

On the Stage, add:

<when green flag clicked>
<forever if><mouse down?>
<stop all>

Hope someone finds it useful. If you know a better way, I'd be pleased to hear it.

Offline

 

#2 2010-06-21 10:54:41

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Disabling the mouse

Let you background be of Black Colour.Make a sprite thats Black in colour and put this script-

<when green flag clicked>
<forever>
<go to[mouse pointer
<end>

This ensures that you dont see the mouse at all. Better still, RUN THE PROJECT IN PRESENTATION MODE. You cant drag sprites this way


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#3 2010-06-21 10:59:49

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Disabling the mouse

I think he means just stopping the click.
For example if he had made a mouse maze and didnt want people to cheat by right clicking then clicking.

Offline

 

#4 2010-06-21 11:17:24

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Disabling the mouse

Find projects that allow you to find out if the project is being run in Presentation Mode or if its being run online/offline.
Then use import necessary scripts in your Project


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

Board footer