# Rotation based on coordinates

**URL:** <https://forum.kirupa.com/t/rotation-based-on-coordinates/189607>\
**Category:** Uncategorized\
**Created:** [June 4, 2006, 4:08pm UTC](https://forum.kirupa.com/t/rotation-based-on-coordinates/189607 "2006-06-04T16:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xytor](https://avatars.discourse-cdn.com/v4/letter/x/90ced4/32.png) [@xytor](https://forum.kirupa.com/u/xytor)\
**Post date:** [June 4, 2006, 4:08pm UTC](https://forum.kirupa.com/t/rotation-based-on-coordinates/189607/1 "2006-06-04T16:08:29Z")

</div>

Hi, how do i change an object’s \_rotation based on the xy coordinates of another object (so it is facing it)?
