scratchfoundation / scratchfoundation/scratch-editor

Camera turns back on after turning it off

Open
#366 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Go to 'https://scratch.mit.edu/projects/editor'
  2. Add 'Face Sensing' extension
  3. Add 'Video Sensing' extension
  4. Make a turn video (off v) block and click it
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.