canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

CFrame AnglesRoblox@lune/roblox✎

Rotation only, in radians. Pair with Rad to work in degrees.

Pending review

CFrame Angles0X (rad)0Y (rad)0Z (rad)
  • Roblox's, and Lune's too — a Lune graph needs @lune/roblox required for it
  • pure — no execution pins, wire it anywhere
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • X (rad):number= 0
  • Y (rad):number= 0
  • Z (rad):number= 0

Outputs

  • result:CFramesplittable
    Splits into Position, Rotation, or Position and axes, or 12 components.

What it compiles to

luau
print(CFrame.Angles(0, 0, 0))

Not reviewed yet