I have started off a new scenario, im planning to make a tower defense game. I want to spawn an actor once I click another actor. This is what im trying to do:
if actor clicked spawn this actor.
how could I do this in code? ive tried using If ObjectClicked(actor) do this: AddObject(actor) but how can I make it work?

