In the object-clicked event, only the clicked object is picked, so all the actions will only refer to that object. To work around that you need to do the work in a separate event.
You could set a local variable to "1" in that event, and in the next event if it is "1" do the action and it'll apply to all the objects.