Roblox UtilitiesDevlHub Roblox Documentation

Class

CFrameValue

Inherits
ValueBase › Instance › Object
Memory category
Instances

A container object for a single CFrame value.

A container object for a single CFrame value.

Properties 1#

ValueCFrameUsed to hold a CFrame value.ReadSafe

Value: CFrame#

ReadSafe

Used to hold a CFrame value.

Events 2#

ChangedFired whenever the CFrameValue.Value of the CFrameValue is changed.
changedDeprecated

Changed(value: CFrame)#

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.

NameTypeDefaultDescription
valueCFrameThe new value after the change.

changed(value: CFrame)#

DeprecatedDeprecated

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

NameTypeDefaultDescription
valueCFrame

Inherited members#

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

ClassName, className

Events (1)

Changed