# Channel setMode() not clearing old vaue

**URL:** <https://qa.fmod.com/t/channel-setmode-not-clearing-old-vaue/21864>\
**Category:** FMOD Engine\
**Tags:** unity\
**Created:** [July 11, 2024, 1:38am UTC](https://qa.fmod.com/t/channel-setmode-not-clearing-old-vaue/21864 "2024-07-11T01:38:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flakeybisquik](https://avatars.discourse-cdn.com/v4/letter/f/9d8465/32.png) [@flakeybisquik](https://qa.fmod.com/u/flakeybisquik)\
**Post date:** [July 11, 2024, 1:38am UTC](https://qa.fmod.com/t/channel-setmode-not-clearing-old-vaue/21864/1 "2024-07-11T01:38:32Z")

</div>

Hello,  
I am switching a channel from 3D to 2D by first calling \_channel.setMode(MODE.\_3D | MODE.\_3D\_INVERSETAPEREDROLLOFF),  
and then \_channel.setMode(MODE.\_2D).

When I get and print out the channel’s mode, it is \_2D, \_3D\_INVERSETAPEREDROLLOFF.

I would expect it to simply be \_2D. But instead, it still has the 3D rolloff value. Why is this?

Would appreciate any support, thanks.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 18, 2024, 4:31am UTC](https://qa.fmod.com/t/channel-setmode-not-clearing-old-vaue/21864/2 "2024-07-18T04:31:52Z")

</div>

I am unable to reproduce that behavior myself, what version of FMOD are you using?

Are you also checking the result from the `setMode` function call?
