I am working on a tower defense game and I want to be able to use the cursor to destroy the actor when the right mouse button is clicked. I was thinking of restricting this to only being able to destroy the tower actors that i choose using cast to nodes just so the player cannot destroy anything that they shouldn’t be able to. Regardlessly i can’t seem to get this working so if anyone could help me that would be great.
Below is a screenshot of the tower actors i wish to be able to destroy if that helps.