Layer.enabled

Function/Meaning
Whether it can be operated
Type
Layer Class Properties
Explanation

Indicates whether the layer can be manipulated.
You can also set the value. If true, it can be manipulated and can receive focus, etc.
If it is false, it cannot be operated and cannot receive focus.