Glorpia Docs
Instances / ValueBase

Vector3Value

Stores a three-dimensional vector.

Inheritance

Vector3Value is a ValueBase class and inherits the shared hierarchy API from Instance.

Members

NameTypeDescription
ValueVector3The value stored by this instance.
ChangedsignalFires when Value changes and passes the new value.

Example

Luau
local value = Instance.new("Vector3Value")
value.Name = "ExampleValue"
value.Value = Vector3.new(1, 2, 3)
value.Parent = workspace

value.Changed:Connect(function(newValue)
    print(newValue)
end)

Related