---
title: Using the API to Automatically Set Up Dynamic Lighting
description: Ready to up your game? Nick Olivo has some of the best tutorials out there for Roll20 Pro subscribers looking to try out the power of the API.
image: https://bloghub.roll20.net/hubfs/nick-api-entertainmentblog.jpg
---

[![](https://bloghub.roll20.net/hubfs/Roll20%20-%20Assets/Blog/Group%202.svg)](https://roll20.net/)

- [Blog](https://bloghub.roll20.net/roll20-blog)
- [Marketplace](https://marketplace.roll20.net/)
- [Community](https://app.roll20.net/forum/)

![](https://bloghub.roll20.net/hubfs/Roll20%20-%20Assets/Icon%20Copy.svg)

[Play Now](https://app.roll20.net/)

Streams

# Using the API to Automatically Set Up Dynamic Lighting

 June 19, 2021

![api tutorials](https://bloghub.roll20.net/hubfs/nick-api-entertainmentblog.jpg)

SHARE: [Share this blog post on Facebook](http://www.facebook.com/share.php?u=https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/) [Share this blog post on Twitter](https://twitter.com/intent/tweet?url=https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/&text=Using%20the%20API%20to%20Automatically%20Set%20Up%20Dynamic%20Lighting) [Share this blog post on Reddit](https://reddit.com/submit?url=https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/)

![Bunny](https://bloghub.roll20.net/hs-fs/hubfs/bunny-hex.png?width=150&name=bunny-hex.png)

#### Bunny

Ready to up your game? [Nick Olivo](https://twitter.com/NickOlivo) has some of the best tutorials out there for Roll20 Pro subscribers looking to try out the power of the API. [In his latest video](https://roll20.io/AutoDL-NickO), you can learn how to combine Dynamic Lighting and the API to make macros that can set up your Dynamic Lighting with a single button click! Check it out and streamline your tabletop experience.

[Automatically Setting up Night Vision & Light Sources in Roll20](https://roll20.io/AutoDL-NickO)

Roll20 Presents Recap:

- [Mondays](https://youtu.be/ONsMvP7-ktA): Distracted Elf, Dave, Aki, and Drakoniques are having level 14 shenanigans in Candlekeep Mysteries live at 1pm PT on [http://twitch.tv/dnd](http://twitch.tv/dnd).
- [Tuesdays](https://youtu.be/bYOEs5IWgII): Indoor Recess are trying to survive until graduation and each other in their homebrewed DnD campaign – live at 7pm PT over on [http://twitch.tv/dnd](http://twitch.tv/dnd).
- [Wednesdays](https://youtu.be/hjthU5P3xAc): Comedy group Stir Friday Night is hunting monsters in their Monster of the Week campaign at 5pm PT on [http://twitch.tv/roll20app](http://twitch.tv/roll20app).
- [Thursdays](https://youtu.be/ytyy1xiLmsg): Distracted Elf gets ready for her Star Wars campaign with some GM Prep at 1pm PT on [http://twitch.tv/distractedelf](http://twitch.tv/distractedelf).
- [Fridays](https://youtu.be/pfj78b3ZCW0): The Star Wars: Desperate Gamble continues with their new crew at 1pm PT on [http://twitch.tv/distractedelf](http://twitch.tv/distractedelf)!

![](https://bloghub.roll20.net/hubfs/roll20-twitch_june19-2021-jpg.jpeg)

Follow us on [Twitch](https://www.twitch.tv/roll20app) and [YouTube](https://www.youtube.com/roll20app) so you don’t miss your favorite Roll20 Presents shows and find new creators.

[*Help us support Code2040*](https://roll20.io/aworthyquest)*! As a tech company, we are striving towards a more equitable industry and one of the ways we’re doing that is with matching donations to Code2040, “a nonprofit activating, connecting and mobilizing the largest racial equity community in tech to dismantle the structural barriers that prevent the full participation and leadership of Black and Latinx technologists in the innovation economy.” Learn more and donate through our Tiltify campaign here:* [*http://roll20.io/Tiltify-Code2040*](http://roll20.io/Tiltify-Code2040)

![Bunny](https://bloghub.roll20.net/hubfs/bunny-hex.png)

Bunny

COMMUNITY MANAGERBunny (she/her) is probably a community manager, writer, sometimes artist, and coordinator of things, but she’s been told rather emphatically she’s “just a mum.” You can find her running around on Twitch and Twitter as wingedlioness.

[Twitter](https://twitter.com/wingedlioness)

###### Related Posts

<https://bloghub.roll20.net/posts/mothership-the-haunting-of-ypsilon-14-gm-prep>

Streams

## [Mothership: The Haunting of Ypsilon 14 GM Prep](https://bloghub.roll20.net/posts/mothership-the-haunting-of-ypsilon-14-gm-prep)

Easy to play, hard to survive – and now even easier to prep! Professional sci-fi game master(...)

[BY Bunny](https://bloghub.roll20.net/posts/mothership-the-haunting-of-ypsilon-14-gm-prep),

 July 1, 2021

<https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/>

Streams

## [Using the API to Automatically Set Up Dynamic Lighting](https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/)

Ready to up your game? [Nick Olivo](https://twitter.com/NickOlivo) has some of the best tutorials out there for Roll20 Pro(...)

[BY Bunny](https://bloghub.roll20.net/posts/using-the-api-to-automatically-set-up-dynamic-lighting/),

 June 28, 2021

<https://bloghub.roll20.net/posts/dnd-digest-s-panama-ring-of-fire-a-new-spotlight-premiere/>

Streams

## [DnD Digest's Pamana: Ring of Fire, a New Spotlight Premiere!](https://bloghub.roll20.net/posts/dnd-digest-s-panama-ring-of-fire-a-new-spotlight-premiere/)

Desperate conquerors, ruthless deities, blood-thirsty monsters, and mortal guardians clash for(...)

[BY Bunny](https://bloghub.roll20.net/posts/dnd-digest-s-panama-ring-of-fire-a-new-spotlight-premiere/),

 June 28, 2021

[View All Posts](https://bloghub.roll20.net/roll20-blog)

![image description](https://bloghub.roll20.net/hubfs/Roll20%20-%20Assets/Blog/img-02.png)

![image description](https://bloghub.roll20.net/hubfs/Roll20%20-%20Assets/Blog/soldiers.png)

SIGN UP

### Play on Roll20 for Free

Play games anywhere. Share them with anyone. With Roll20 as your virtual tabletop, your adventures are limitless.

[Create Free Account](https://app.roll20.net/account/create)

[![Roll20](https://bloghub.roll20.net/hubfs/logo-white.png)](https://roll20.net/)

- [Blog](https://bloghub.roll20.net/roll20-blog)
- [Marketplace](https://marketplace.roll20.net/)
- [Community](https://app.roll20.net/forum/)

Subscribe to Our Newsletter

© Roll20, LLC

Roll20® is a Registered Trademark of Roll20, LLC. All rights reserved.

- <https://www.facebook.com/pages/Roll20/439774126041559>
- <https://twitter.com/roll20app>
- <https://instagram.com/roll20app>
- <https://www.youtube.com/channel/UCHC1kWACzA7G6D2fqkqsRDg>
- <http://twitch.tv/roll20app>
- <https://www.linkedin.com/company/roll20/>

- [Privacy Policy](https://help.roll20.net/hc/en-us/articles/360037770793-Terms-of-Service-and-Privacy-Policy)
- [Terms & Conditions](https://help.roll20.net/hc/en-us/articles/360037770793-Terms-of-Service-and-Privacy-Policy)