Need help with camera script and mouse delta

I really want to create a camera effect in-game that looks something like this using mouse movement:

But I have no idea how to create this because you cant get the delta of a mouse with MouseBehavior set to default.

Use UserInputService.

These two links will help:
https://developer.roblox.com/en-us/api-reference/property/UserInputService/MouseBehavior
https://developer.roblox.com/en-us/api-reference/function/UserInputService/GetMouseDelta

If MouseBehavior is default then the delta will be 0,0. What I want is to be able to get a delta with MouseBehavior set to default.

I believe this previously has been answered in another topic

1 Like