Problem with Point and click inventory

Hallo Unreal Brothers, I have terrible problems to set drag and drop from inventory widget to an actor in game, simply i need to open door (BP_actor placed in game) with a key in inventory, the idea is drag key from inventory (widget already work fine when I take objects) and drop on door to unlock it.
“event ondrop” not work in game environment, only in widget, how I achieve this?
many thanks!

Emi

There is a node to get Actor under mouse cursor. I forgot the name, sorry. But that node traces out from your mouse cursor into the world to see which Actor it’s pointing at, and if you use that node on the OnDrop event, then you can get a reference to the Actor your mouse is pointing at when the drop occurs, and then transfer the item to them or their controller etc by whatever means you normally use to add items to inventory.

Ok thanks, i try some of this stuff!