Deleting an actor after clicking on it and pressing a button

Hi,
I feel like I’m going crazy or being stupid idk
For now, I have this:


When I press the Delete button and then click on an actor, it deletes the actor.
I WANT the opposite, to first click on an actor, and then click the delete butt to delete the actor.
How can I do that ?

Are you running this in the player controller? Also, the above script should not work, tbh. I mean it would work, but somewhat differently.


I WANT the opposite, to first click on an actor, and then click the delete butt to delete the actor.

You can use objects instead of channels, ofc.

How come you can say this and I get moderated… smh… :expressionless:

2 Likes

Thankkkk you! And yes, I was in the Player Controller.

About that, what’s the difference?

That’s because I’m a girl, girl are allowed to say this kind of words…

It’s about these:

Explained here better than I ever could:

1 Like

Hey,
I’d like to be able to delete only actors that do NOT have a certain tag, how can I add that to this code?

One of those. Edit: better pic.

1 Like

you’re the best :100: