Class: Point2D
A point in two-dimensional space.
Static Methods
Point2D Point2D.new()
Point2D Point2D.new(point: UDim2)
Point2D Point2D.new(point: Vector2)
Point2D Point2D.new(x: number, y: number)
Point2D Point2D.new(x_scale: number, x_offset: number, y_scale: number, y_offset: number)
Properties
UDim2 Point
A Point2D's position.
Vector2 PointVec2
Allows you to get/set Point
directly as Vector2
. Returns only the offset fields of UDim2
!
Inherited from Point:
Vector2 ScreenPos [readonly]
A Point's screen position.
bool Visible [readonly]
Determines whether a Point is rendered.
bool HasColorOverride
Toggles the overriding of a Point's color. Used when rendering a Point using a triangulated PolylineDynamic.
Color3 ColorOverride
Overrides a Point's color when HasColorOverride
is true.
Vector3 ColorOverrideVec3 [writeonly]
Sets ColorOverride
using a Vector3. Write-only.
number ColorOverrideOpacity
Determines the opacity of a Point's override color.