Is there a way to have a block facing my mouse?

I’m trying to test something and I’m wondering if i can make a block face my mouse and follow it with its face but not actually move from its spot

block.CFrame = CFrame.lookAt(block.Position, mouse.Hit.Position)

Run in a loop or connect to renderstepped or heartbeat

1 Like

mouse.Move event would likely be more efficient.

https://developer.roblox.com/en-us/api-reference/event/Mouse/Move

1 Like

RenderStepped is not recommended as the camera has no role in this case.