scratchfoundation / scratchfoundation/scratch-editor
Camera turns back on after turning it off
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 281
- Forks
- 276
- Avg merge
- 7d 8h
- Merged PRs (30d)
- 6
Description
https://scratch.mit.edu/discuss/post/8769398/
Expected Behavior
After running a turn video (off v) block, the camera stays turned off.
Actual Behavior
The camera turns on without running a turn video (on v)
Steps to Reproduce
Turn off the camera with the Face Sensing extension loaded, then switch to a different sprite in the editor or click the See Inside button.
Steps to reproduce the behavior:
- Go to 'https://scratch.mit.edu/projects/editor'
- Add 'Face Sensing' extension
- Add 'Video Sensing' extension
- Make a
turn video (off v)block and click it - Switch to another sprite,
or go to the project page and click See Inside
--> the camera turns on
The camera also turns on after reloading if the project is saved so that it contains both face sensing and video sensing blocks and the camera is turned off, but that's temporary and it turns off quickly
System Details
Windows 10, Chrome 132
Screenshots
https://github.com/user-attachments/assets/6e5ee232-f53c-44ed-9287-e8961e89ee23
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Scratch project editor with Face Sensing and Video Sensing enabled, then inspect the extension behavior around switching sprites, using See Inside, and reloading a saved project. Done means the camera remains off after the turn video (off v) block until an explicit turn video (on v) action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100