AcediaDocumentation

Square drawing

Properties for Drawing.new("Square").

Inherits the shared drawing properties.

Properties

MemberType / signatureMeaning
PositionVector2Top-left point.
SizeVector2Width and height.
FilledbooleanFill rather than outline.

Example

local object = Drawing.new("Square")
object.Position = Vector2.new(20, 20)
object.Size = Vector2.new(100, 40)
object.Color = Color3.new(1, 1, 1)
object.Visible = true
object:Remove()

Property writes require the matching types. TextBounds and __OBJECT_EXISTS are readonly.

On this page