# Auto center registration on senocular transformtool

**URL:** <https://forum.kirupa.com/t/auto-center-registration-on-senocular-transformtool/257635>\
**Category:** Uncategorized\
**Created:** [April 15, 2008, 8:33pm UTC](https://forum.kirupa.com/t/auto-center-registration-on-senocular-transformtool/257635 "2008-04-15T20:33:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![test1](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@test1](https://forum.kirupa.com/u/test1)\
**Post date:** [April 15, 2008, 8:33pm UTC](https://forum.kirupa.com/t/auto-center-registration-on-senocular-transformtool/257635/1 "2008-04-15T20:33:31Z")

</div>

Hey guys, quick question. I’ve been experimenting with senoculars transform tool for a while now. It’s an awesome tool, I’m just having some issues getting it to do what I need it do. I think the problem is it does some really complex stuff but I really just needs some of the simpler features. I’m pretty close to just scrapping it and making a simpler one myself but I really don’t want to do that.

My current issue is trying to get the registration point to always be the center of the object it’s transforming. I was able to sort of do this by changing the line that creates the registration point to this:

innerRegistration = new Point(\_target.width\>\>1, \_target.height\>\>1);

but when the object is scaled the registration point gets messed up. Any ideas on this?
