app.project.item(index).layer(index).propertySpec.selected
Description
When true, this property is selected. Set to true to select the property, or to false to deselect it.
Sampling this attribute repeatedly for a large number of properties can slow down system performance. To read the full setof selectedproperties of a composition orlayer, usethe selectedProperties attribute of a Comp or Layer object.
Type
Boolean; read/write.