# Setting the origin of an object

**URL:** <https://forum.kirupa.com/t/setting-the-origin-of-an-object/269292>\
**Category:** Uncategorized\
**Created:** [August 25, 2008, 9:34pm UTC](https://forum.kirupa.com/t/setting-the-origin-of-an-object/269292 "2008-08-25T21:34:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iamthejuggler](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Post date:** [August 25, 2008, 9:34pm UTC](https://forum.kirupa.com/t/setting-the-origin-of-an-object/269292/1 "2008-08-25T21:34:02Z")

</div>

Is it possible to, at runtime, change the origin of a bitmap/sprite? Say i am importing an image from an external source and then want to rotate said bitmap, is there a way to change it’s origin (i think that’s the right term for it) so that it doesn’t rotate from it’s top-left point? I have so far drawn a blank on searches to see if this is possible. Figured this would be the best place to get a quick yay or nay. 🙂

Cheers folks.
