Skip to content

Class · inherits ValueBase

Vector3Value

Official docs ↗

A container object for a single Vector3 value.

About Vector3Value

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 1

  • ChangedVector3Value.Changed:Connect(function(value))Fired whenever Vector3Value.Value is changed.

    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.

Vector3Value also has every member of ValueBase. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.