Skip to content

Class · inherits ValueBase

CFrameValue

Official docs ↗

A container object for a single CFrame value.

About CFrameValue

A container object for a single CFrame value.

Properties 1

  • Value: CFrameUsed to hold a CFrame value.

Events 1

  • ChangedCFrameValue.Changed:Connect(function(value))Fired whenever the CFrameValue.Value of the CFrameValue is changed.

    Fired whenever the CFrameValue.Value of the CFrameValue 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 CFrameValue changes and to track the different values that it may change to.

    For instance, this even may be useful in games that rely on CFrameValues to track game object CFrame positions and movements.

    Equivalent changed events exist for similar objects, such as NumberValue and StringValue, depending on what object type best suits the need.

CFrameValue 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.