GetObjectDimensions()
A new object with the following properties:
top - the y coordinate of the top edge of the specified object.
bottom - the y coordinate of the bottom edge of the specified object.
left - the x coordinate of the left edge of the specified object.
right - the x coordinate of the right edge of the specified object.
width - the width of the specified object
height – the height of the specified object.
This function returns the position and size of a specified object in a new Object.