actions
A dictionary containing layer actions.
Declaration
var actions: [String : any CAAction]? { get set }Discussion
The default value of this property is nil. You can use this dictionary to store custom actions for your layer. The contents of this dictionary searched as part of the standard implementation of the action(forKey:) method.