Skip to content

Data type

Path2DControlPoint

Official docs ↗

Stores the info for a single control point used with the Path2D instance.

About Path2DControlPoint

The Path2DControlPoint data type represents a single control point used with the Path2D instance.

Constructors 3

  • Path2DControlPoint.new()Returns an empty Path2DControlPoint.
  • Path2DControlPoint.new(Position: UDim2)Returns a Path2DControlPoint with only the position set.
  • Path2DControlPoint.new(Position: UDim2, Left Tangent: UDim2, Right Tangent: UDim2)Returns a Path2DControlPoint with the position, left tangent, and right tangent set.

Properties 3

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.