Line 3: Line 3:
 
|image      = File:3.0 Set Video Transparency to ()%.png
 
|image      = File:3.0 Set Video Transparency to ()%.png
 
|imagewidth = 201px
 
|imagewidth = 201px
|category  = [[Sensing Blocks|Sensing]]
+
|category  = [[Video Sensing Extension|Video Sensing Extension]]
 
|type      = [[Stack Block|Stack]]
 
|type      = [[Stack Block|Stack]]
 
|default    = 50
 
|default    = 50
|added      = [[Scratch 2.0|2.0]]
+
|added      = [[Scratch 3.0|3.0]]
 
}}
 
}}
 
The <sb>set video transparency to ()%</sb> [[Blocks|block]] is a [[Video Sensing Extension]] block and a [[Stack Block|Stack block]]. It sets the transparency of the video stream to a certain value. Early in the Scratch 2.0 alpha, it was categorized as a [[Looks Blocks|Looks block]].
 
The <sb>set video transparency to ()%</sb> [[Blocks|block]] is a [[Video Sensing Extension]] block and a [[Stack Block|Stack block]]. It sets the transparency of the video stream to a certain value. Early in the Scratch 2.0 alpha, it was categorized as a [[Looks Blocks|Looks block]].

Latest revision as of 22:20, 20 May 2019

Set Video Transparency to ()
3.0 Set Video Transparency to ()%.png
Category Video Sensing Extension
Type Stack
Introduced in 3.0

The set video transparency to ()% block is a Video Sensing Extension block and a Stack block. It sets the transparency of the video stream to a certain value. Early in the Scratch 2.0 alpha, it was categorized as a Looks block.

Example Uses

  • Having the video be part of the background
turn video [on v]
set video transparency to (50)
  • Hiding the video while using values
when gf clicked //in Stage
turn video [on v]
set video transparency to (100)

when gf clicked //in a sprite
forever
 move (video [motion v] on [Stage v]) steps
 if on edge, bounce

See Also