# Toggle fullscreen mode through a button in app

**URL:** <https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 26, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528 "2023-06-26T14:31:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMA\_nylon](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@AMA\_nylon](https://forum.inductiveautomation.com/u/AMA_nylon)\
**Post date:** [June 26, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/1 "2023-06-26T14:31:26Z")

</div>

Hi there,  
I'm looking for a way to switch to fullscreen mode on my perspective app so that the operators have no access to the browser settings. I want to trigger the event on a button click. What properties do I have to use to do that ?  
Thank you.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 26, 2023, 2:34pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/2 "2023-06-26T14:34:57Z")

</div>

I doubt there's any built-in way to do that.  
Probably not even a supported/clean way, actually.  
And maybe no way at all.

---

<div class="post-metadata">

**Author:** ![AMA\_nylon](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@AMA\_nylon](https://forum.inductiveautomation.com/u/AMA_nylon)\
**Post date:** [June 26, 2023, 2:38pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/3 "2023-06-26T14:38:03Z")

</div>

I heard it is possible, it's just that I can't get the information.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 26, 2023, 2:42pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/4 "2023-06-26T14:42:41Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/system.perspective.workstation.toKiosk](https://docs.inductiveautomation.com/display/DOC81/system.perspective.workstation.toKiosk)  
kiosk mode?

onyl works with the workstation app tho, if you use a browser its not possible

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [June 26, 2023, 2:42pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/5 "2023-06-26T14:42:50Z")

</div>

I believe if you use Workstation, there is an option to switch between Kiosk mode and Windowed mode through an action - I haven't tried this myself yet, though.

[https://docs.inductiveautomation.com/display/DOC81/Component+Events+and+Actions#ComponentEventsandActions-WorkstationModeAction:~:text=all%20available%20themes.-,Workstation%20Mode%20Action,-The%20following%20feature](https://docs.inductiveautomation.com/display/DOC81/Component+Events+and+Actions#ComponentEventsandActions-WorkstationModeAction:~:text=all%20available%20themes.-,Workstation%20Mode%20Action,-The%20following%20feature)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 26, 2023, 2:47pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/6 "2023-06-26T14:47:01Z")

</div>

Perspective allows for it via the [Fullscreen Action](https://docs.inductiveautomation.com/display/DOC81/Component+Events+and+Actions#ComponentEventsandActions-FullscreenAction). Note that there is no scripting equivalent because browsers require this action be DIRECTLY triggered by a user action. You should also note that **by design** - the browser will always allow a user to escape fullscreen mode by pressing Escape.

---

<div class="post-metadata">

**Author:** ![AMA\_nylon](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@AMA\_nylon](https://forum.inductiveautomation.com/u/AMA_nylon)\
**Post date:** [June 26, 2023, 2:50pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/7 "2023-06-26T14:50:49Z")

</div>

So there is no way to block in fullscreen mode ?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 26, 2023, 2:51pm UTC](https://forum.inductiveautomation.com/t/toggle-fullscreen-mode-through-a-button-in-app/75528/8 "2023-06-26T14:51:44Z")

</div>

No. Browser security requires that a user always be able to escape any override of default behaviors.
