UI Alignment Testing Katalon

Need help for UI Alignment Validation Testing using Katalon,
can we check button or other object placement and its alignment on screen

hello,
you can probably use
https://docs.katalon.com/katalon-studio/docs/webui-get-element-left-position.html#description-
together with
https://docs.katalon.com/katalon-studio/docs/webui-get-element-width.html#description-
you will get right
same for TOP and TOP+Height

Thank will try and notify.
Also is their any way to window resize command. if i want to resize my window to 300X400 and perform action.

i know we have command like window.maximize but similiar to it do we have something .resize(300,400)

i tried this and it works fine

'Set viewport size 703x347'
WebUI.setViewPortSize(703, 347)