---
title: "CFrameValue"
description: "Stores a position and rotation."
canonical: "https://docs.glorpia.com/instances/cframevalue"
markdown: "https://docs.glorpia.com/instances/cframevalue.md"
---
# CFrameValue

Stores a position and rotation.

**Category:** Instances / ValueBase

## Inheritance

`CFrameValue` is a `ValueBase` class and inherits the shared hierarchy API from `Instance`.

## Members

| Name | Type | Description |
| --- | --- | --- |
| `Value` | CFrame | The value stored by this instance. |
| `Changed` | signal | Fires when Value changes and passes the new value. |

## Example

```luau
local value = Instance.new("CFrameValue")
value.Name = "ExampleValue"
value.Value = CFrame.new(0, 5, 0)
value.Parent = workspace

value.Changed:Connect(function(newValue)
    print(newValue)
end)
```

## Related

- [ValueBase](https://docs.glorpia.com/instances/valuebase.md) — Shared Value and Changed members for value classes.
- [Instances](https://docs.glorpia.com/instances.md) — Browse the complete Glorpia class reference.
