Assign the last created aactor to an actor attribute, and only execute the code when that actor attribute has no value.