# Some questions about the wonderful rectangle

**URL:** <https://forum.kirupa.com/t/some-questions-about-the-wonderful-rectangle/286176>\
**Category:** flash\
**Created:** [April 11, 2009, 11:31am UTC](https://forum.kirupa.com/t/some-questions-about-the-wonderful-rectangle/286176 "2009-04-11T11:31:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geraldyeong](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@geraldyeong](https://forum.kirupa.com/u/geraldyeong)\
**Post date:** [April 11, 2009, 11:31am UTC](https://forum.kirupa.com/t/some-questions-about-the-wonderful-rectangle/286176/1 "2009-04-11T11:31:59Z")

</div>

hihi everyone,

the weak has come to ask for help ! I’ve stumbled upon a question, i read up something on collisions. It is a drag drop tutorial.

Scenario :

I have a rectangle sized : 498.9 width, 237 height. (ONLY outline, no fill)

i was wondering how could i acquire the Left, top, bottom and right attributes.

These are the values in inputed in my starDrag command :  
23,32,422,169

but before that i had it in :  
23,32, 522,269

I was wondering why is there a difference of 100 ? because when i click on the outlines located on the bottom and right. the values were 522 for the right outline and 269 for the bottom outline.

And when i subtracted the values with 100, my objects were contain in the rectangle ?

Please guide me on how to accquire the actual top left right bottom attributes of the rectangle.

CONFUSED !!
