Class · inherits ValueBase
Vector3Value
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
Value
: Vector3The storedVector3.
Events 1
Changed
Vector3Value.Changed:Connect(function(value))Fired wheneverVector3Value.Valueis changed.Fired whenever the
Vector3Value.Valueof theVector3Valueis 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
NumberValueandStringValue, 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.