# System Tag for current view

**URL:** <https://forum.inductiveautomation.com/t/system-tag-for-current-view/65017>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 10, 2022, 4:54pm UTC](https://forum.inductiveautomation.com/t/system-tag-for-current-view/65017 "2022-10-10T16:54:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JR7](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JR7](https://forum.inductiveautomation.com/u/JR7)\
**Post date:** [October 10, 2022, 4:54pm UTC](https://forum.inductiveautomation.com/t/system-tag-for-current-view/65017/1 "2022-10-10T16:54:46Z")

</div>

Hi All,

Is there a system tags or something that I can know what view i'm currently at? For example: I'm on my mobile/tablet and the auto rotate of my phone/tablet is on. Because some of the graphics are stretch and i don't want the to get stretch, I try to used the mode fixed or percent but still some of the graphics are still stretch.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Kevin\_Tulloch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin_tulloch/32/39631_2.png) [@Kevin\_Tulloch](https://forum.inductiveautomation.com/u/Kevin_Tulloch)\
**Post date:** [October 18, 2022, 4:34pm UTC](https://forum.inductiveautomation.com/t/system-tag-for-current-view/65017/2 "2022-10-18T16:34:14Z")

</div>

Hi [JR7](https://forum.inductiveautomation.com/u/JR7),

Can you clarify what you mean by "what view I'm currently at"?  
Are you referring to a Perspective View? If so, you can use view.id in order to expose the ID of the current View.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [October 18, 2022, 4:43pm UTC](https://forum.inductiveautomation.com/t/system-tag-for-current-view/65017/3 "2022-10-18T16:43:32Z")

</div>

> [@JR7](#):
>
> I try to used the mode fixed or percent but still some of the graphics are still stretch.

I think this is the real problem. It sounds like you are using a Coordinate Contianer, but didn't also set the Aspect Ratio.

See this thread:

> [@Fixing components position in a coordinate container set to percent mode](https://forum.inductiveautomation.com/t/fixing-components-position-in-a-coordinate-container-set-to-percent-mode/65335/4):
>
> Setting mode to percent is only part of the process, you then need to set the aspectRatio. Try taking width/height from the view and setting the ratio from those values. If the width = 1600 and the height = 900, then the ratio 1600:900
