lock property

bool lock
final

Whether to lock dragging within the layer's bounds.

Type: bool, default: false. When true, dragged items cannot be moved outside the layer's visual bounds, providing spatial constraints.

Implementation

final bool lock;