Roblox UtilitiesDevlHub Roblox Documentation

Class

Vector3Value

Inherits
ValueBase › Instance › Object
Memory category
Instances

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#

ValueVector3The stored Vector3.ReadSafe

Value: Vector3#

ReadSafe

The stored Vector3.

Events 2#

ChangedFired whenever Vector3Value.Value is changed.
changedDeprecated

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.

NameTypeDefaultDescription
valueVector3The new value after the change.

changed(value: Vector3)#

DeprecatedDeprecated

Deprecated. This deprecated event is a variant of Vector3Value.Changed which should be used instead.

NameTypeDefaultDescription
valueVector3

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed