Class
Vector3Value
A container object for a single Vector3 value.
A Vector3Value simply holds a Vector3 as a value. This value can be used for scripts to communicate, for objects to move to a preset location, etc.
Properties 1#
Events 2#
| Changed | Fired whenever Vector3Value.Value is changed. |
| changed | Deprecated |
Changed(value: Vector3)#
Fired whenever the Vector3Value.Value of the Vector3Value
is changed. It will run with the new value being stored in the argument
object, instead of a string representing the property being changed.
This event, like other changed events, can be used to track when an Vector3Value changes and to track the different values that it may change to.
For instance, this may be useful in games that rely on Vector3Values to track positions in the game world.
Equivalent changed events exist for similar objects, such as
NumberValue and StringValue, depending on what object type
best suits the need.
| Name | Type | Default | Description |
|---|---|---|---|
value | Vector3 | The new value after the change. |
changed(value: Vector3)#
DeprecatedDeprecated
Deprecated. This deprecated event is a variant of Vector3Value.Changed which
should be used instead.
| Name | Type | Default | Description |
|---|---|---|---|
value | Vector3 |
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild