# GUI: Animated light effect on logo

**URL:** <https://forum.defold.com/t/gui-animated-light-effect-on-logo/79420>\
**Category:** Questions\
**Created:** [January 13, 2025, 4:58pm UTC](https://forum.defold.com/t/gui-animated-light-effect-on-logo/79420 "2025-01-13T16:58:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ape](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/ape/32/26976_2.png) [@Ape](https://forum.defold.com/u/Ape)\
**Post date:** [January 13, 2025, 4:58pm UTC](https://forum.defold.com/t/gui-animated-light-effect-on-logo/79420/1 "2025-01-13T16:58:16Z")

</div>

In the following picture you can see two lines on the logo…

 ![logo](https://forum-defold-uploads.b-cdn.net/original/3X/3/6/36336800b8e93f344f20cdf2897643b843a2559b.png)

…that should move from left to right to imitate a light effect.

What I’ve achieved so far:

Logo (Parent)

- Box as child (one line) as stencil mask
- 
  - Logo as grandchild

The problem: If I animate the position.x of the box, the second logo (grandchild) moves also. I could probably reverse the movement by animating the logo’s position.x too but that looks overcomplicated to me. Is there an easy why to achieve that?

---

_[View the full topic](https://forum.defold.com/t/gui-animated-light-effect-on-logo/79420)._
