diff --git a/src/extensions/scratch3_video_sensing/index.js b/src/extensions/scratch3_video_sensing/index.js
index 5f8380fe4..dd06b0ec0 100644
--- a/src/extensions/scratch3_video_sensing/index.js
+++ b/src/extensions/scratch3_video_sensing/index.js
@@ -566,7 +566,7 @@ class Scratch3VideoSensingBlocks {
      * @param {VideoState} args.VIDEO_STATE - the video state to set the device to
      */
     videoToggle (args) {
-        const state = args.VIDEO_STATE;
+        const state = Object.values(VideoState).includes(args.VIDEO_STATE) ? args.VIDEO_STATE : VideoState.OFF;
         this.globalVideoState = state;
         if (state === VideoState.OFF) {
             this.runtime.ioDevices.video.disableVideo();