How to get object from payload (drag and drop)

Edit: - Nevermind, I’m dumb. I was casting to the wrong object. Thanks!

I am trying to get the object passed into the payload of “Create Drag and Drop Operation” so on the drop function I cast to MyDragAndDropOperation and from there get payload, in this case my inventory slot named “Slot” but since the payload can be any object I cast to the desired object which always fails.

I know I can expose on spawn a variable for my slot contents but that feels redundant since there is a payload input.