# Object moving on their own on client window

**URL:** <https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704>\
**Category:** Ignition\
**Created:** [November 18, 2022, 7:58pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704 "2022-11-18T19:58:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilles.levesque](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gilles.levesque](https://forum.inductiveautomation.com/u/gilles.levesque)\
**Post date:** [November 18, 2022, 7:58pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/1 "2022-11-18T19:58:06Z")

</div>

Hello. I've created a template which represent a Twin screw sheeter. i wanted to have some animation on it so i've created a screw and two Rolls. The screw is working right, but the rolls are moving in Y direction while i am working with the angle. it's doing it only on the client page. Everything is fine on my template as well as in the Designer.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/4/542fe3c4a0fd129328c380a27a59b7c887d2a3eb.png)  
Any idea how to fix that?

---

<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:** [November 18, 2022, 10:23pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/2 "2022-11-18T22:23:36Z")

</div>

I'm sure @transistor might chime in here, but consider _not_ animating it apart from changing its colour. Good HMI design is boring: greyscale colours, simple non-distracting graphics. Alarms should be the only distracting elements of an HMI to direct and focus user attention, as well as conditions which are leading to alarm.

> **[What is High-Performance HMI? - ISA101 - RealPars](https://realpars.com/high-performance-hmi/)**
>
> High-Performance HMI is the industry answer for a standardized, easy to use, and more productive HMI graphics system to implement.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 19, 2022, 4:00am UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/3 "2022-11-19T04:00:48Z")

</div>

Is this Vision or Perspective? What code are you using for the animation?

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [November 19, 2022, 8:00am UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/4 "2022-11-19T08:00:34Z")

</div>

I only used Perspective. Changing Position parameters by bingding is OK, but that's not animation. If you want smooth and natural animations, you may need to resort to embedded html webpage and JavaScript.

---

<div class="post-metadata">

**Author:** ![gilles.levesque](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gilles.levesque](https://forum.inductiveautomation.com/u/gilles.levesque)\
**Post date:** [November 21, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/5 "2022-11-21T14:19:40Z")

</div>

It’s Vision, the code is very simple, I am using a timer with bound set a 360 which step by 25 at 120ms rate.

The animation is done on the Angle property of the circle with this Expression (360-{TSS.Timer 1.value})

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 21, 2022, 3:12pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/6 "2022-11-21T15:12:54Z")

</div>

Remove the expression, and bind the the angle property of your circle directly to the value property of your timer:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/4/844683e2713cec020a91d6b63cc9d666c9cdc85f.png)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 21, 2022, 3:20pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/7 "2022-11-21T15:20:39Z")

</div>

> [@gilles.levesque](#):
>
> (360-{TSS.Timer 1.value})

I take that back. I set up an experiment using your expression, and it worked just fine without any drift. I want to help, but I'm afraid I've been a little under the weather this week, and my brain is no longer firing on all cylinders. Perhaps somebody else will have an idea.

---

<div class="post-metadata">

**Author:** ![gilles.levesque](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gilles.levesque](https://forum.inductiveautomation.com/u/gilles.levesque)\
**Post date:** [November 21, 2022, 7:06pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/8 "2022-11-21T19:06:06Z")

</div>

I can do that for one circle only since the other one need to turn in the opposite way.

---

<div class="post-metadata">

**Author:** ![gilles.levesque](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gilles.levesque](https://forum.inductiveautomation.com/u/gilles.levesque)\
**Post date:** [November 21, 2022, 7:25pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/9 "2022-11-21T19:25:31Z")

</div>

I think it’s related to the rescaling of the pages in the client, Even if I set the Layout to Relative with Maintain Aspect Ratio/Center, I guess the client may rescale the template making the circle out of round or by moving the center point just a little bit, it begin to drift.

---

<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:** [November 21, 2022, 7:25pm UTC](https://forum.inductiveautomation.com/t/object-moving-on-their-own-on-client-window/66704/10 "2022-11-21T19:25:43Z")

</div>

@gilles.levesque ,

Please reply only on the forum, not via email, if you cannot stop the images that come through on every post. Extremely annoying, and violates the "Keep It Tidy" part of the [site rules](https://forum.inductiveautomation.com/faq).

(I'm cleaning up your prior posts.)
