# Individual button disable for multi state button

**URL:** <https://forum.inductiveautomation.com/t/individual-button-disable-for-multi-state-button/5121>\
**Category:** Ignition\
**Created:** [September 8, 2012, 3:57am UTC](https://forum.inductiveautomation.com/t/individual-button-disable-for-multi-state-button/5121 "2012-09-08T03:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fledder](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fledder](https://forum.inductiveautomation.com/u/fledder)\
**Post date:** [September 8, 2012, 3:57am UTC](https://forum.inductiveautomation.com/t/individual-button-disable-for-multi-state-button/5121/1 "2012-09-08T03:57:19Z")

</div>

Is there a way to disable individual buttons on a multi state button object? For example, I am using it for a mode controller, and there are some modes that are not always valid to switch to, depending on some other conditions. However, I don’t want to disable the whole thing, as some other modes are still valid. Is there a way to do this?

BTW, I know I can do it with a template. I was just curious if there’s a way to do this within the regular object.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [September 10, 2012, 11:44pm UTC](https://forum.inductiveautomation.com/t/individual-button-disable-for-multi-state-button/5121/2 "2012-09-10T23:44:47Z")

</div>

I don’t think there’s a way to disable, but you can programmatically add/remove states through scripting, since the states and their information are stored in a dataset.
