# How to Use Video Greenscreen in MakeCode

## Greenscreens in MakeCode

![](https://cdn-learn.adafruit.com/assets/assets/000/070/985/medium800/makecode_mcgreen_4.jpg?1549664465)

For creating video tutorials and livestreaming with [MakeCode](https://makecode.adafruit.com), there's a simple, yet effective way to display video inside of your session. This mini guide will show you how!

https://youtu.be/XvyPBJo5SzY

The first method is to pick a connected USB camera as your background.

## USB Camera Method

&nbsp;

Inside of MakeCode, pick the **gear** icon and then click the **Green Screen On** menu item.

Choose one of your USB video cameras from the list.

Your video camera will stream inside of the browser as a background behind all of the MakeCode graphical elements!

![makecode_mcgreen_2.png](https://cdn-learn.adafruit.com/assets/assets/000/070/976/medium640/makecode_mcgreen_2.png?1549663891)

![makecode_mcgreen_5.png](https://cdn-learn.adafruit.com/assets/assets/000/070/978/medium640/makecode_mcgreen_5.png?1549663947)

![makecode_mcgreen_4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/979/medium640/makecode_mcgreen_4.jpg?1549664041)

You can also choose to use a green background that can be knocked out with a chroma key setting in your capture or livestream software.

## Chromakey Method

&nbsp;

From the same menu item, pick the **Green background** choice.

This will turn the background of MakeCode to pure green.

This will show up in your layered capture or streaming software as a layer that can be chroma keyed.

Pick the chroma key option. Your software may default to pure green or pure blue (less common) and you should also have choices to pick a specific alternate color and adjust the threshold.

Now, you can switch out your layers dynamically as you normally would in your capture or streaming application.

![makecode_mcgreen_6.png](https://cdn-learn.adafruit.com/assets/assets/000/070/980/medium640/makecode_mcgreen_6.png?1549664228)

![makecode_mcgreen_7.png](https://cdn-learn.adafruit.com/assets/assets/000/070/981/medium640/makecode_mcgreen_7.png?1549664233)

![makecode_mcgreen_8.png](https://cdn-learn.adafruit.com/assets/assets/000/070/982/medium640/makecode_mcgreen_8.png?1549664286)

![makecode_mcgreen_10.png](https://cdn-learn.adafruit.com/assets/assets/000/070/983/medium640/makecode_mcgreen_10.png?1549664338)

![makecode_mcgreen_11.png](https://cdn-learn.adafruit.com/assets/assets/000/070/984/medium640/makecode_mcgreen_11.png?1549664421)


## Featured Products

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [CRICKIT Exhibit Demo Board](https://learn.adafruit.com/crickit-exhibit-demo-board.md)
- [Light Up Paper Dragon Wall Sconce](https://learn.adafruit.com/light-up-paper-dragon-wall-sconce.md)
- [Which CircuitPython Board is Right for You?](https://learn.adafruit.com/choose-your-circuitpython-board.md)
- [DIY Circuit Playground Shields](https://learn.adafruit.com/circuit-playground-shields.md)
- [Crickit Powered Dancin' Snowman!](https://learn.adafruit.com/crickit-powered-dancin-snowman.md)
- [Using Servos With CircuitPython and Arduino](https://learn.adafruit.com/using-servos-with-circuitpython.md)
- [Stand-alone programming AVRs using CircuitPython](https://learn.adafruit.com/stand-alone-programming-avrs-using-circuitpython.md)
- [Using MCP23008 & MCP23017 with CircuitPython](https://learn.adafruit.com/using-mcp23008-mcp23017-with-circuitpython.md)
- [Glue Stick Light Pipe Sculpture](https://learn.adafruit.com/glue-stick-archway.md)
- [Sensor Plotting with Mu and CircuitPython](https://learn.adafruit.com/sensor-plotting-with-mu-and-circuitpython.md)
- [Steven Universe Cosplay Shirt & Gem](https://learn.adafruit.com/steven-universe-cosplay-shirt-gem.md)
- [Secret Hollow Book Intrusion Detector](https://learn.adafruit.com/secret-hollow-book.md)
- [Wind Blowing Emoji Prop](https://learn.adafruit.com/wind-face-emoji.md)
- [Circuit Playground Express USB MIDI Controller and Synthesizer](https://learn.adafruit.com/cpx-midi-controller.md)
- [Make It Shake, Rattle, and Roll: Accelerometer Use](https://learn.adafruit.com/make-it-shake-rattle-and-roll.md)
