ScratchData LogoScratchData
Back to gtoal's profile

Stupid GF Tricks!

GTgtoal•Created October 30, 2014
Stupid GF Tricks!
9
6
292 views
View on Scratch

Instructions

Add these to your code if testing these conditions is helpful to your program. I've seen a lot of people asking for help with what looks like random behavior in their projects, and mostly it is due to not reinitializing all their variables. This can tell you if they're running the program with clean data or not.

Description

This is the released version. The development version is at http://scratch.mit.edu/projects/32620096/ and is likely to be broken or under test at any random time. Use this one to take code for your projects. I was quite pleased at discovering a way to reliably detect which green flag was pressed :-) (mouse down vs up immediately after clicking it) Be careful when using this in your code to delete all the variables immediately prior to saving the project. (Except the cloud variable, which needs special handling - see notes inside. Trick learned from DadOfMrLog)

Project Details

Project ID32038712
CreatedOctober 30, 2014
Last ModifiedJanuary 23, 2019
SharedOctober 30, 2014
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root