# Global Breakpoint Parameter

**URL:** <https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 9, 2023, 8:38pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231 "2023-10-09T20:38:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [October 9, 2023, 8:38pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231/1 "2023-10-09T20:38:46Z")

</div>

Working within Perspective, is there a way (either through CSS or some other magic) to define a "global" breakpoint width within Perspective? Many of my windows within the project will have a mobile and desktop variant with the same breakpoint (say 640px) configured. What I'd like to do is define that width once within the project and apply to whatever breakpoint containers I'd like. Is there a way to achieve this?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [October 9, 2023, 8:41pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231/2 "2023-10-09T20:41:51Z")

</div>

The breakpoint property is bindable, make a session property that holds your expected value and then bind the breakpoint container's `breakpoint` property to that session property for whichever containers you want.

---

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [October 9, 2023, 9:00pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231/3 "2023-10-09T21:00:09Z")

</div>

Thanks, I totally missed that. I was looking at the breakpoint field in the top of the property editor which isn't bindable but missed the same property listed below in the props area.

Expanding on this a little bit, is there a way to bind a session prop to the "auto breakpoint" field on a docked view?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [October 9, 2023, 9:04pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231/4 "2023-10-09T21:04:42Z")

</div>

I not aware of a way to do that unfortunately. Does make it a very tedious effort when setting up docked views in a project with a lot of pages and not every page uses the same dock or config

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 9, 2023, 10:18pm UTC](https://forum.inductiveautomation.com/t/global-breakpoint-parameter/80231/5 "2023-10-09T22:18:27Z")

</div>

> [@brian.mcenulty](#):
>
> is there a way to bind a session prop to the "auto breakpoint" field on a docked view?

Try binding all of them **bidirectionally** to the session property.
