Any new object is placed on the target layer, the layer currently displaying the pen icon in the Layers panel. Targeting a layer also selects it. If multiple layers are selected, targeting one of them doesn’t change the selection, but targeting a layer outside the selection deselects the other layers.
You can add objects to the target layer by any of the following methods:
Creating new objects with the Type tool or drawing tools.
Importing, placing, or pasting text or graphics.
Selecting objects on other layers, and then moving them to the new layer.
You cannot draw or place a new object on a hidden or locked layer. When you select a drawing tool or the Type tool, or place a file when the target layer is hidden or locked, the pointer changes to the crossed-out-pencil icon when it is positioned over the document window. Either show or unlock the target layer, or target a visible, unlocked layer. If you choose Edit > Paste when the target layer is hidden or locked, an alert message gives you the choice of showing or unlocking the target layer.
When you click a layer in the Layers panel to target it, the pen icon appears on the layer you clicked, and the layer also highlights to indicate that it is targeted.