# Maxscript access to auto exposure?

**URL:** <https://forums.chaos.com/t/maxscript-access-to-auto-exposure/112700>\
**Category:** SDK\
**Created:** [November 3, 2022, 11:58am UTC](https://forums.chaos.com/t/maxscript-access-to-auto-exposure/112700 "2022-11-03T11:58:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pixelcon](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/pixelcon/32/22319_2.png) [@Pixelcon](https://forums.chaos.com/u/Pixelcon)\
**Post date:** [November 3, 2022, 11:58am UTC](https://forums.chaos.com/t/maxscript-access-to-auto-exposure/112700/1 "2022-11-03T11:58:09Z")

</div>

Hello!

Loving auto-exposure and how much it speeds up workflow for me.  
I would love to create a small UI button that allows me to enable/disable auto-exposure with a single click. Is enabling and disabling auto-exposure possible in maxscript?

---

<div class="post-metadata">

**Author:** ![vladimir\_krastev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir_krastev/32/42177_2.png) [@vladimir\_krastev](https://forums.chaos.com/u/vladimir_krastev)\
**Post date:** [November 3, 2022, 3:54pm UTC](https://forums.chaos.com/t/maxscript-access-to-auto-exposure/112700/2 "2022-11-03T15:54:41Z")

</div>

Hi thanks for posting. Below is the script for enabling auto exposure:

> renderers.current.camera\_autoExposure=true

Change it like so if you want to disable auto exposure:

> renderers.current.camera\_autoExposure=false

---

<div class="post-metadata">

**Author:** ![Pixelcon](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/pixelcon/32/22319_2.png) [@Pixelcon](https://forums.chaos.com/u/Pixelcon)\
**Post date:** [November 7, 2022, 10:28am UTC](https://forums.chaos.com/t/maxscript-access-to-auto-exposure/112700/3 "2022-11-07T10:28:00Z")

</div>

> [@vladimir\_krastev](#):
>
> Hi thanks for posting. Below is the script for enabling auto exposure:
> 
> Change it like so if you want to disable auto exposure:

Thank you, Valdimir!
