# Omit a child from being rotated?

**URL:** <https://forum.kirupa.com/t/omit-a-child-from-being-rotated/279921>\
**Category:** Uncategorized\
**Created:** [January 20, 2009, 5:35pm UTC](https://forum.kirupa.com/t/omit-a-child-from-being-rotated/279921 "2009-01-20T17:35:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeerOclock](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Post date:** [January 20, 2009, 5:35pm UTC](https://forum.kirupa.com/t/omit-a-child-from-being-rotated/279921/1 "2009-01-20T17:35:00Z")

</div>

Suppose I have a Sprite (A) that is constanly being rotated (as often as the mouse moves).

I have another Sprite (B) that is a child of (A). It makes sense that B is a Child of A because I want B’s position to be relative to A’s position, and I want B to become invisible when A goes invisible, etc.

However, I would like B NOT to rotate when A rotates. Is there a way to omit B from rotating when A rotates, even though B is A’s child?

I know I could do something like B.rotation = - A.rotation everytime A gets rotated, but that feels like a clunky hack to me… there must be a better way?

Currently I’m considering making B a separate object, and not a child of A. But thats not much better because then I have to keep B updated with A’s position and visibility, etc…
