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 !!