Instances / ValueBase
Vector3Value
Stores a three-dimensional vector.
Inheritance
Vector3Value is a ValueBase class and inherits the shared hierarchy API from Instance.
Members
| Name | Type | Description |
|---|---|---|
Value | Vector3 | The value stored by this instance. |
Changed | signal | Fires 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)