# Interpolation movement with widget vs actor

**URL:** <https://forums.unrealengine.com/t/interpolation-movement-with-widget-vs-actor/2040284>\
**Category:** Programming & Scripting\
**Tags:** actor, interpolation, unreal-engine, question, Blueprint\
**Created:** [September 27, 2024, 2:00am UTC](https://forums.unrealengine.com/t/interpolation-movement-with-widget-vs-actor/2040284 "2024-09-27T02:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkankHunt1000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkankHunt1000](https://forums.unrealengine.com/u/SkankHunt1000)\
**Post date:** [September 27, 2024, 2:00am UTC](https://forums.unrealengine.com/t/interpolation-movement-with-widget-vs-actor/2040284/1 "2024-09-27T02:00:48Z")

</div>

Hello,

I’m adding animation movements to my drag and drop functionality. And I was referencing [this tutorial](https://youtu.be/Pj6ncAZWz0c?si=t8i5z45Do7pT_lz2&t=938) which recommends using Event Tick + Gates to achieve this. Something I found that was odd here (that I also saw in another tutorial) is that they are moving the Widget using Interpolate towards position instead of moving the parent actor that holds the widget. In my case, I have a parent actor that holds a variety of things including a widget and a collision box. So in my case, I want to move the parent actor right?

 ![Screenshot 2024-09-26 at 5.06.18 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/d/73dd20478563be419898a076b4cbaf43f5ff7627.jpeg)  
Here is a screenshot of what the tutorial is doing.

But I noticed there are some subtle differences when trying to implement this tutorial’s logic for an actor instead of a widget. So I’m trying to sanity check that I’m doing the right thing here.

For the widget movement logic, they’re using “Set Render Transform” and “Vector 2d interp to” with a “Widget transform” variable. That won’t work for me, right? Because I’m not moving a widget I’m moving an actor. So what should I use instead?

Currently, in my project I do not animate movement at all. And when I want to set the position of my actor I just call “Set Actor Transform”. So what do you recommend using for interpolation for actors?

 ![Screenshot 2024-09-26 at 10.03.05 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/d/04d2903266e1b84609c5cf93ae579f8d80680673.png)

Here is a screenshot of how i set the position of my actor, which uses Transforms (not Widget transforms)

Bonus question, is there a reason the tutorial is only moving the widget instead of a parent actor? Maybe a performance reason?

Thank you!

---

<div class="post-metadata">

**Author:** ![SkankHunt1000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkankHunt1000](https://forums.unrealengine.com/u/SkankHunt1000)\
**Post date:** [September 27, 2024, 2:09am UTC](https://forums.unrealengine.com/t/interpolation-movement-with-widget-vs-actor/2040284/2 "2024-09-27T02:09:36Z")

</div>

Looks like I might want VInterpTo or FInterpTo. But is the math exactly the same just a different function? It appears like it might be.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 27, 2024, 2:10am UTC](https://forums.unrealengine.com/t/interpolation-movement-with-widget-vs-actor/2040284/3 "2024-10-27T02:10:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
