# getting screen location of a non canvas slate widget(Making a slide bar)

**URL:** <https://forums.unrealengine.com/t/getting-screen-location-of-a-non-canvas-slate-widget-making-a-slide-bar/38116>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 10, 2015, 1:53pm UTC](https://forums.unrealengine.com/t/getting-screen-location-of-a-non-canvas-slate-widget-making-a-slide-bar/38116 "2015-08-10T13:53:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![envenger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@envenger](https://forums.unrealengine.com/u/envenger)\
**Post date:** [August 10, 2015, 1:53pm UTC](https://forums.unrealengine.com/t/getting-screen-location-of-a-non-canvas-slate-widget-making-a-slide-bar/38116/1 "2015-08-10T13:53:10Z")

</div>

I am currently making something similar to a slide bar to set sound and brightness for my game.

Basically the setup is a SImage inside a wide SBorder.  
And I want to drag the image between the border.

For this I want to know the location of the SBorder and the SImage inside it. Is it possible to do that without using canvas slots?

Cause arranging things will be harder if I use canvas slots.

—Edit—

Slate already has a SSlider and it saved lots of my work.

Although the problem is its just a single line and we can’t change its thickness…
