1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

WeldConstraintPreserve

Controls which WeldConstraints are included in the recommendation table returned by GeometryService:CalculateConstraintsToPreserve() after a solid modeling operation such as GeometryService:UnionAsync(), GeometryService:SubtractAsync(), or GeometryService:IntersectAsync(). Pass this enum as the weldConstraintPreserve key inside the options dictionary argument to that method. The default value used when no option is specified is WeldConstraintPreserve.Touching.

Items

NameValueDescription
All0All WeldConstraints will be returned in the recommended table.
None1WeldConstraints will be ignored and not returned in the recommended table.
Touching2Only WeldConstraints that connect touching parts in the performed operation will be returned in the recommended table.

All

All WeldConstraints will be returned in the recommended table.

FieldValue
value0

None

WeldConstraints will be ignored and not returned in the recommended table.

FieldValue
value1

Touching

Only WeldConstraints that connect touching parts in the performed operation will be returned in the recommended table.

FieldValue
value2