Getting mouse information?

I tried to start my first project today by creating a custom camera. However, it seems I'm unable to get the mouse info e.g. the delta so I can code my own? Is there a way to get mouse information whilst it's locked?

Apologies if this is a repost and/or this is obvious. I've scoured the API docs + the forums but can't seem to find any relevant info

No worries, figured it out. For others:

You can use UI.GetCursorPosition() to get the mouse position and derive the delta from that.