Zho:视讯设为 ()（积木）

The Turn Video  积木 is a 侦测类积木 and a 条形积木. It can turn the webcam on, off, or on flipped horizontally, depending on the 参数. Early in the Scratch 2.0 alpha, it was categorized as a 外观类积木.

Options
The block contains a drop-down list of three options.
 * On Turns the webcam on for utilization of the motion-sensing features in Scratch 2.0.
 * Off Turns the webcam off which will cause the constant film pasted onto the 舞台 to remove.
 * On-flipped Turns the webcam on but displays the video footage in a horizontally flipped form. This option is not available in the stage but only in sprites.

用法示例
當 @greenflag 被點擊 視訊設為 [開啟 v] 當 @greenflag 被點擊 // in Stage 視訊設為 [開啟 v]
 * Showing the user what they look like
 * Turning the video on, to use the motion

當 @greenflag 被點擊 // in a sprite 重複無限次 移動 (視訊 [動作 v] \( [舞台 v] \)) 點 碰到邊緣就反彈 end

参见

 * 视讯透明度设为 %
 * 视讯
 * Watch Me Move! (video sensing)