# Bug about move the component to target position/rotation

**URL:** <https://forums.unrealengine.com/t/bug-about-move-the-component-to-target-position-rotation/767062>\
**Category:** Blueprint\
**Tags:** moveto, unreal-engine, Widget, Blueprint, question, UMG\
**Created:** [February 9, 2023, 7:02am UTC](https://forums.unrealengine.com/t/bug-about-move-the-component-to-target-position-rotation/767062 "2023-02-09T07:02:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delicialin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delicialin](https://forums.unrealengine.com/u/Delicialin)\
**Post date:** [February 9, 2023, 7:02am UTC](https://forums.unrealengine.com/t/bug-about-move-the-component-to-target-position-rotation/767062/1 "2023-02-09T07:02:14Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/4/d/b4ddbb2d0f1876a1fc7b40b613782e9c9961b620.png)  
I want to implement a function that moves to the target position and rotates to the target direction after pressing a UI button, and I wrote the above blueprint. After executing the blueprint, when moving to the target point, the rotation angle suddenly returns to 0, so what goes wrong in the blueprint?

On the other hand, I tested the blueprint as follows, the player/actor doesn’t rotate as well.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/4/0847323a7169ca1b8dde8bb15b36fb3fccef8fcb.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/0/a802d28ab2a2f3b3485f34678d050f4b3eb96b6e.png)

Note:

1. Animation of moving process is required
2. The button is UI button so user interface blueprint is necessary
3. There’re no error reports when the level runs

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [February 9, 2023, 11:34pm UTC](https://forums.unrealengine.com/t/bug-about-move-the-component-to-target-position-rotation/767062/2 "2023-02-09T23:34:23Z")

</div>

Hi there @Delicialin. Hope you’re doing well!

This topic has been moved from **International** to **Programming & Scripting**.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! 🙂
