# \[Closed\] \[SOLVED\] Horizontal and Vertical scrolling?

**URL:** <https://forums.unrealengine.com/t/closed-solved-horizontal-and-vertical-scrolling/459180>\
**Category:** UI\
**Tags:** scrollbox, unreal-engine, Widget, question, Blueprint, UMG\
**Created:** [December 5, 2019, 9:52pm UTC](https://forums.unrealengine.com/t/closed-solved-horizontal-and-vertical-scrolling/459180 "2019-12-05T21:52:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 5, 2019, 11:30pm UTC](https://forums.unrealengine.com/t/closed-solved-horizontal-and-vertical-scrolling/459180/4 "2019-12-05T23:30:07Z")

</div>

It’s much easier to use nested canvases for this, the idea is similar to a handling a draggable window, more info here:

> [@Two ways scroll box?](https://forums.unrealengine.com/t/two-ways-scroll-box/89955/3):
>
> Here’s another idea (that worked for me): For mouse dragging: nest two canvases and shift one in the other the top one is the size of the interactable area, the inner one is much larger than the screen - you’d be shifting this one about, it will house all the icons and whatnot \*OnMouseDown \*captures the attention of the top canvas OnMouseMove shifts the inner canvas by CursorDelta For scrolling bars: from my experience, h/v scrollboxes will most likely give you a headache after a while - …

Otherwise you’ll spend half the time recalculating scrollbox offset position, which is no fun at all. If you want manual handles to shift stuff about, consider sliders - much easier implementation.

The only somewhat difficult concept here is zooming in on the current mouse position as it requires a transform. That’s providing you need that functionality to start with.

---

_[View the full topic](https://forums.unrealengine.com/t/closed-solved-horizontal-and-vertical-scrolling/459180)._
