pub fn delta(ctx: &Context) -> Point2<f32>
ctx.mouse.delta
Get the distance the cursor was moved during the current frame, in pixels.