# Perspective Breakpoint Param

**URL:** <https://forum.inductiveautomation.com/t/perspective-breakpoint-param/64769>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 3, 2022, 6:21pm UTC](https://forum.inductiveautomation.com/t/perspective-breakpoint-param/64769 "2022-10-03T18:21:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_DeLuca](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Matthew\_DeLuca](https://forum.inductiveautomation.com/u/Matthew_DeLuca)\
**Post date:** [October 3, 2022, 6:21pm UTC](https://forum.inductiveautomation.com/t/perspective-breakpoint-param/64769/1 "2022-10-03T18:21:32Z")

</div>

With a column container in Perspective is there a way use the current breakpoint in use as a binding? For example, I am trying to change the amount of padding for a component based on the column breakpoints.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 3, 2022, 7:10pm UTC](https://forum.inductiveautomation.com/t/perspective-breakpoint-param/64769/2 "2022-10-03T19:10:27Z")

</div>

```auto
if(
	{view.props.defaultSize.width} < {parent.props.breakpoints[1].minWidth},
	0,
	if(
		{view.props.defaultSize.width} < {parent.props.breakpoints[2].minWidth},
		1,
		2
	)
)

```
