Discuss Scratch

drew3452
New to Scratch
12 posts

Make sprite visible, but not selectable?

I have a sprite for a control board and 7 sprites for 7 LEDs on the control board. I want to LEDs to turn on and off (show and hide), but I don’t want them to be selectable. I mean, even if the user clicks on the LED in the stage, I don’t want that LED sprite to become selected down in the list of sprites, and I don’t want the code for that LED to appear in the coding area. Why? Well, the control board sprite is where all the important stuff is and I just want the control board sprite to remain active and I want the control board sprite to always have its code visible in the coding area.
How can I show the “LED” sprite but even if a student clicks on it, keep the “control board” sprite as the active one (selected in sprite list and showing its code in the coding area). Thanks
Oh, I am using Sprite 2 offline, so there is no distinction between “Editor” and “Project” mode. There is only editor, everything is happening in the editor.
Thank you
TheLogFather
Scratcher
1000+ posts

Make sprite visible, but not selectable?

If a sprite is just ‘clicked’ in the stage then it doesn't get selected. You actually have to hold down the button for a short time and/or drag a little before the sprite/clone gets selected.

From what you said, I get the impression that you want students to be running this while *in the editor*? Is there any reason why you want this? (You want them to be watching/examining the scripts?)
If that's not needed then just switch to fullscreen mode and your problem is basically solved!

Otherwise I would suggest you hide the sprites you don't want to be selected, and “stamp” them instead. There's a bit of a loss of quality in doing that (esp. if vector costumes), but I don't really see another option if you want them to be looking only at the scripts associated with the other sprites while still clicking (and potentially selecting) these sprites.

Last edited by TheLogFather (March 29, 2017 15:48:58)


Siggy the Kumquat slayer:
Main account: DadOfMrLog –– Frameworks for basic pen-rendered 3D in scratch (see studio). Examples:

- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -

drew3452
New to Scratch
12 posts

Make sprite visible, but not selectable?

I think the stamp function is just what I need , Thanks!
I was also trying “Drawing” little dots since the shapes I need to draw and remove are round colored dots representing LEDS.
Yes , the students are practicing basic code with my program, in preparation to programming my arduino based hardware. So have to run it in the editor mode always.

Between the “stamp” and “draw” I think I can make this work. Thanks!

Powered by DjangoBB