Unable to get controller inputs when UI button is pressed

Hi all,

I have a widget UI button, when I press, it will spawn an actor, which I want to drag out from the UI button.

However, after pressing, the actor is spawned, but my touch position is being locked and the actor does not follow the touch movement as the button “ate up” the inputs. The TouchInput state shows as “False”.

How can I mitigate this?

  • either avoid using buttons for anything other than the simplest of clicks, ideally
  • or, try setting the button to be not-hit testable right after spawning the actor, and restore its visibility only once you’re done with dragging the actor; may work OK