Contents:
Add a new Constraint layer on the top of the layer stack and return it
constrain_node (Node) – The constrain node
target_node (Node) – The constraint target node
name (str) – Optional constraint layer name
mode (ConstraintMode) – The type of the constraint
the newly created animation layer
ConstraintLayer