1a3c5e7g9i

Let's say you tried to click on the vertical or horizontal scroll bar in one of your most ambitious projects ever. Unfortunately you accidentally clicked on a portion of a very large stacked predicate(boolean)…! You frantically tried to find the place the block was lifted from, but when you put it back in a slot it isn't the right place….

I am suggesting to add a script locking function to the Scratch editor. It will lock the script in place and disallow further movements in the script selected. You would right click the script you want to lock, and the “Lock” button would appear below “Delete”. The script when locked would [probably] have a transparent lock appear on it, or have a certain glow instead.

If you select a C-block, everything inside the C-block (and the C-block itself) would be locked unless you drag the bar (which is explained in the next sentence). If you select a regular stack block a bar will appear. Dragging the top part upwards selects everything you drag it past (in the script). The same goes for the bottom part. Clicking outside the bar would activate the lock.

You will not be able to move it until it is “unlocked”. When you right click it again, “Unlock” would appear in place of “Lock”. Unlocking the script will undo the lock and get rid of the transparent lock (or glow). If you read this far, add “I have read the entire OP and I am sure I am not missing any vital info.” at the top or bottom. If this is a duplicate, let me know.

stickfiregames

Semi-support. This would be useful, but an undo button would also deal with the problem and many others, so I'd rather have that instead.

How often does this happen to you? I assume it depends on how laggy the editor is.

1a3c5e7g9i

stickfiregames wrote:

How often does this happen to you? I assume it depends on how laggy the editor is.
I don't know… I wasn't counting. Maybe once or twice?

The4thPixel

I have read the entire OP and I am sure I am not missing any vital info.

Indifferent. I'm not sure if a lot of people would find it useful.

Candylanguagegirl

This happens to me so much it isn't even funny. It really isn't based on lag in the editor, it's my lack of coordination with a mouse. XD
But I would definitely agree that this should be implemented. It could also make moving scripts around a lot more convenient, if we made moving it a possibility. The reason I say this is because not being able to move a script would just be annoying- I'd like a way to glue the script together so that I can organize them without them falling apart on me.
I have read the entire OP and I am sure I am not missing any vital info.

jromagnoli

I supremely support! This is a much needed feature, it happens to me too much, and it would help me when I have cluttered scripts. This is a much neede addition.
I have read the entire OP and I am sure I am not missing any vital info.

WolfCat67

I have read the entire OP and I am sure I am not missing any vital info.
I support this entirely. In my game Smiley Fighters, I have a super large jumping script (because I didn't compact it lol) that I plan to remove in the future. However, whenever I add a new part to it for another weapon, sometimes I'll end up messing up the entire jump script because my computer is super laggy. If this was implemented, then I would no longer have that issue.

MathlyCat

How specific will the locking be? If it's specific to the C-block this can be useful for taking out/adding things to big scripts like velocity codes

duckboycool

Dude this is rejected!!!
I have read the entire OP and I am sure I am not missing any vital info.
Semi-support, I haven't had this happen to me, and I don't think it is that useful, but it doesn't really have a downside.

1a3c5e7g9i

MathlyCat wrote:

How specific will the locking be? If it's specific to the C-block this can be useful for taking out/adding things to big scripts like velocity codes
I added it in.

MathlyCat

1a3c5e7g9i wrote:

MathlyCat wrote:

How specific will the locking be? If it's specific to the C-block this can be useful for taking out/adding things to big scripts like velocity codes
I added it in.
I fully support, this would make editing scripts so much easier.

1a3c5e7g9i

BUMP o.O

humantorch01

This is the greatest idea known to man! (not really but still)
This has happened to me loads of times and I would really like this to be in the newest scratch!

I GIVE FULL SUPPORT

Cub56

Support, in large projects it would make it much easier to not make mistakes like that. An undo button would do the same thing well.

miniepicness

Ooh, that feeling when you literally have to remake that entire script because of that



SUPPORT

1a3c5e7g9i

BUMP o.O

1a3c5e7g9i

bump

mstone326

I also support. Sounds like a good idea and addition. I've had a few different things happen. One as mentioned above, accidentally moving a chunk of code and then trying to figure out where it went. I've also had a few times where a block I didn't throw away snaps to the bottom on a long script and I don't realize it because I can't see all the way to the bottom.

1a3c5e7g9i

BUMPEROOEY

-OryumiCat-

Huh. I thought I already posted this. But anyway;

Support.

I can not even tell you how much this would benefit me (and everyone else here).