Changing input priority

Hi
I’m making a point and click adventure game and I want my player to pick up items when I click on them. I have this On Click event in my item Blueprint and it works fine, but the problem is that it fires before player starts walking to the item and to pick it up I need to click one more time.

https://puu.sh/wpbVP/0b0a299142.png

Is there a way to change input priority so that after clicking on the item the player will walk to it first and then pick it up?

  • Hold a variable of the object you are moving to.
  • Set this when you start walking to it.
  • Check on Tick if you are within Use distance of the item. If you are, stop walking, and use the item.