Button Widget Animation bug when changing translation

Hi everyone,

I have a quick question about the Play Animation function for UMG Widgets.

I want to change the translation of my button on hover and on unhover (see attached Video) using animations. My implementation works well, however, I noticed a strange behavior of the button when moving the mouse to a particular location.
The button rapidly triggers hover and unhover (see video) which results in a weird flickering of the button since the animations are triggered.

Did anyone else encounter this problem? Or does anyone know an easy fix to this?
I am currently trying to use the do once node but so far no success.

All looks & sounds like a classic UMG prank :wink:

  • try this:

  • or this:

  • or this:


There’s probably some other ways to make it pick up where it started and not freak out. Do tell if it worked.

Hi,
great thanks for the solutions. I tried the first and the last solution you suggested. The last one worked for me.
The only thing I am still not satisfied with is when I just briefly hover over the button which causes the reverse animation to trigger a bit weirdly.

But I think I’ll find a solution for that on my own.

Thanks again!