Never mind I figured it out,
add an event:-
Windows.Devices.Input.MouseDevice.GetForCurrentView().MouseMoved += MouseController;
/*********************************************************************************************
- Function Name : MouseController
- Description : event setup by the constructor
- ******************************************************************************************/
private void MouseController(Windows.Devices.Input.MouseDevice sender, Windows.Devices.Input.MouseEventArgs args)
{
outputPos.X += args.MouseDelta.X;
outputPos.Y += args.MouseDelta.Y;
if (outputPos.X <= boundry.X) outputPos.X = boundry.X;
if (outputPos.Y <= boundry.Y) outputPos.Y = boundry.Y;
if (outputPos.X >= boundry.X + boundry.Width) outputPos.X = boundry.X + boundry.Width;
if (outputPos.Y >= boundry.Y + boundry.Height) outputPos.Y = boundry.Y + boundry.Height;
}
Sorted