How to make a child class be the input for the parent class input?

Did you try though?)

My example is that I have a parent class called BaseItem and a child based off of that parent class called DestructibleItem.

I already have functionality to add BaseItem to my inventory.

I want to be able to be able to use a DestructibleItem reference and plug into a BaseItem Input for my AddItemToInventory Function.

Hopefully you guys understand what I mean.

In short I want to add a DestructibleItem(child of BaseItem) to my inventory which takes BaseItem as an input for the function.

I think I figured out the way I want to do it, I am going to set a IsDestructible Variable in Base Item then create child called destructible in which I set to true and then when I cast to BaseItem I am getting the Destructible and then I check the boolean. I think this will work, will update if it does not. Thank you for your reply.

I knew you would decide such thing) that’s why I put that get class node) So you get actual name of which reference you got. There is no need to any additional boolean)