# Mouse cursor control on embedded view

**URL:** <https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 29, 2021, 11:49am UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347 "2021-07-29T11:49:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stan.cook](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stan.cook/32/10553_2.png) [@stan.cook](https://forum.inductiveautomation.com/u/stan.cook)\
**Post date:** [July 29, 2021, 11:49am UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/1 "2021-07-29T11:49:34Z")

</div>

Using Perspective, I have a small view “status line” that I am embedding in another view via a flex repeater. I’ll call this the “test” page. The “status line” view consists of a couple dynamic labels. I want to have the user click on the embedded view and that will then trigger a script to update a “test” page property. The intent will be to call up another view on the “test” page with details of the “status line” object that was clicked.

I have several questions, but for this the topic is mouse cursor control. I want to keep the cursor as the normal arrow, but when it passes over the labels in “status line” it changes to the “i-beam” cursor used for text entry.

Is there a way to control what the cursor does? I haven’t found it yet. I’d like to set appropriate properties on the “status line” view.

---

<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:** [July 29, 2021, 11:58am UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/2 "2021-07-29T11:58:42Z")

</div>

you can change what the cursor looks when hovering a component with style  
‘cursor’  
for normal its `cursor: default`  
for i-beam its `cursor: text`  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/c/cc6ca39b349e973cc65f6fe661991f121dd7cdef.png)

more style can be found here.

> **[cursor - CSS: Cascading Style Sheets | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor)**
>
> The cursor CSS property sets the type of mouse cursor, if any, to show when the mouse pointer is over an element.

Note: that the cursor images maybe change depending on OS/browser

---

<div class="post-metadata">

**Author:** ![stan.cook](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stan.cook/32/10553_2.png) [@stan.cook](https://forum.inductiveautomation.com/u/stan.cook)\
**Post date:** [July 29, 2021, 1:57pm UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/3 "2021-07-29T13:57:55Z")

</div>

Thanks, that is just what I needed. Not sure how I missed that, but isn’t the first time.

---

<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:** [July 29, 2021, 2:04pm UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/4 "2021-07-29T14:04:16Z")

</div>

i dont think this property is in the perspective style picker^^ so you would need to know some css to know this

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 30, 2021, 11:44am UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/5 "2021-07-30T11:44:39Z")

</div>

Actually it’s at the bottom of the perspective style thing 🙂

---

<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:** [July 30, 2021, 11:46am UTC](https://forum.inductiveautomation.com/t/mouse-cursor-control-on-embedded-view/49347/6 "2021-07-30T11:46:28Z")

</div>

Oh, i never really used that, as its faster to just type for me. i know most of the css things xd
