I made a selfie filter in Scratch! Open the project. You will see your face, with a hat and a clown nose. Kind of like in selfie filters where you can make yourself look all fancy and stuff. But... how in the world did I make this!?!? To answer that, Scratch recently added an extension that used to only be on Scratch Lab ( lab.sctatch.mit.edu ), but was added to normal Scratch! Exciting! To detect if you have a camera installed or not, I have to use a weird technique. I have to use the Video Sensing extension for this. For some reason, Scratch thinks the motion level of the camera should be -1 if there is no camera. This is how I detect it. Weird. I also can detect if the stop button is clicked, by constantly resetting to timer to 0. Then, when the project stops, that code obviously stops, right? Correct! But... here's the catch. The stop sign only stops the code once. It doesnt force stop scripts until the project starts. No! This means other scripts can still run if activated. I have a "when timer exceeds 0" it proceeds to run its stuff. Changelog: 1.0: October 8th, 2025. The original release. 1.1: October 9th, 2025. Fixed a bug that made it almost unusable.
MIT for Scratch, and both extensions used for the project, and also the hat asset and the Scratch Cat asset. Most code is by me, the other code was used for stop sign detection made by the MIT (I think). The rainbow background came from... somewhere. Not really sure where though.