# Toggle Touchscreen Mode

**URL:** <https://forum.inductiveautomation.com/t/toggle-touchscreen-mode/3057>\
**Category:** Ignition\
**Created:** [July 1, 2011, 2:14pm UTC](https://forum.inductiveautomation.com/t/toggle-touchscreen-mode/3057 "2011-07-01T14:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DustinM](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@DustinM](https://forum.inductiveautomation.com/u/DustinM)\
**Post date:** [July 1, 2011, 2:14pm UTC](https://forum.inductiveautomation.com/t/toggle-touchscreen-mode/3057/1 "2011-07-01T14:14:16Z")

</div>

I have touchscreens and computers that connect to the same project. Is there a way to toggle the touchscreeen mode on/off during or immediately after an autologin?

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [July 1, 2011, 2:41pm UTC](https://forum.inductiveautomation.com/t/toggle-touchscreen-mode/3057/2 "2011-07-01T14:41:30Z")

</div>

You can do it in your startup script with the [system.gui.setTouchscreenModeEnabled](http://inductiveautomation.com/support/usermanuals/ignition/index.html?system_gui_settouchscreenmodeenabled.htm) function.

```auto
if condition(): 
     system.gui.setTouchscreenModeEnabled(0)
```
