# \[5.8\] Editor viewport look sensitivity randomly changes when Windows pointer speed isn't the default 

**URL:** <https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 15, 2026, 12:14pm UTC](https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975 "2026-10-15T12:14:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 15, 2026, 12:14pm UTC](https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975/1 "2026-10-15T12:14:24Z")

</div>

While holding right-mouse to look around in a perspective level editor viewport, rotation speed suddenly drops (or jumps) and later recovers. Framerate is unaffected, and it even happens in an empty level. It only happens when Windows pointer speed isn’t the default 10, or when “Enhance pointer precision” is on. Other drags that use the unbounded cursor (pan, orbit, dolly) behave the same way. We didn’t see this on 5.7, and I don’t appear to be alone with this issue, as it’s been reported elsewhere (eg. [forum post](https://forums.unrealengine.com/t/perspective-viewport-camera-rotation-bug-in-ue-5-8/2729416) and [Github plugin with workaround](https://github.com/VitaliyKrysin/SmoothViewportNav)).

FSceneViewport::UpdateCachedCursorPos (new in 5.8) tracks the unbounded cursor that UViewportClickDragBehavior passes to UViewportViewAngleInteraction as UnboundedMouseDelta2D. It updates that position in two different ways:

- Inside the viewport: from the OS cursor position delta. Windows scales that by pointer speed and acceleration, because high-precision mode doesn’t use RIDEV\_NOLEGACY, so the hidden cursor keeps moving.

- On or outside the viewport edge: from InMouseEvent.GetCursorDelta(), which in high-precision mode is the raw WM\_INPUT delta.

At any non-default pointer speed the two disagree, so speed changes whenever the hidden cursor crosses the edge band. The edge branch also multiplies the raw delta by ToViewportPixelScale, which includes the DPI scale. At display scaling other than 100% that branch is over-scaled as well.

Our fix is this:

In UpdateCachedCursorPos, while the viewport has mouse capture and the cursor is hidden, always accumulate the raw delta with the DPI scale removed. “Hidden” covers both ShowCursor(false) and a platform cursor type of EMouseCursor::None. The second case matters because the ITF viewport interactions hide the cursor with an EMouseCursor::None override while bIsCursorVisible stays true. Visible-cursor drags keep the existing logic.

```auto
if (CachedUnboundedCursorPos.IsSet())
{
	// hidden captured cursor moves the unbounded cursor by raw deltas only, so it does not depend on the OS pointer speed
	// Viewport interactions hide the cursor with an EMouseCursor::None shape while bIsCursorVisible stays true
	const TSharedPtr<ICursor> PlatformCursor = FSlateApplication::Get().GetPlatformCursor();
	const bool bCursorShapeHidden = PlatformCursor.IsValid() && PlatformCursor->GetType() == EMouseCursor::None;
	const bool bHiddenCursorCaptured = (!bIsCursorVisible || bCursorShapeHidden) && !bIsSoftwareCursorVisible && ViewportWidget.IsValid() && ViewportWidget.Pin()->HasMouseCapture();
	if (bHiddenCursorCaptured)
	{
		if (bIsMoveEvent)
		{
			// Cursor delta is in desktop pixels; ToViewportPixelScale includes the DPI scale, which must not apply here
			const FIntPoint UnboundDelta = (InMouseEvent.GetCursorDelta() * ToViewportPixelScale / InGeometry.Scale).IntPoint();
			CachedUnboundedCursorPos = CachedUnboundedCursorPos.GetValue() + UnboundDelta;
		}
	}
	else if (NewPos.X > 0 && NewPos.X < PixelWidth - 1 && NewPos.Y > 0 && NewPos.Y < PixelHeight - 1)
	{
		//...

```

With this, camera drags ignore pointer speed and acceleration, as they did before 5.8. I’m not sure if this lines up with the intention behind the change in 5.8, but it fixes the issue for us so I thought it was worth sharing.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 15, 2026, 12:14pm UTC](https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975/2 "2026-10-15T12:14:27Z")

</div>

**Steps to Reproduce**  
1. In Windows mouse settings, set pointer speed to 3 and turn “Enhance pointer precision” off.

2. Open a new level, hold right-mouse in the perspective viewport and keep turning in one direction.

3. Rotation speed changes abruptly as the hidden cursor reaches or leaves the edge of the viewport.

---

<div class="post-metadata">

**Author:** ![Cody.Albert](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody.albert/32/1088813_2.png) [@Cody.Albert](https://forums.unrealengine.com/u/Cody.Albert)\
**Post date:** [October 20, 2026, 6:54pm UTC](https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975/3 "2026-10-20T18:54:38Z")

</div>

Hi,

Thanks for reporting this! I’ve checked in a fix at CL#59486336, let me know if you still see any unexpected sensitivity issues with that change.

Best,

Cody

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 20, 2026, 8:21pm UTC](https://forums.unrealengine.com/t/5-8-editor-viewport-look-sensitivity-randomly-changes-when-windows-pointer-speed-isnt-the-default/2858975/4 "2026-10-20T20:21:08Z")

</div>

Great, thanks Cody!
