# MovieClip.getBounds()

#### Availability

Flash Player 5.

#### Usage

    my_mc.getBounds(targetCoordinateSpace)

#### Parameters

`targetCoordinateSpace` The target path of the Timeline whose coordinate system you want to use as a reference point.

#### Returns

An object with the properties `xMin`, `xMax`, `yMin`, and `yMax.`

#### Description

Method; returns properties that are the minimum and maximum x and y coordinate values of the instance specified by `my_mc` for the `targetCoordinateSpace` parameter.

Note: Use MovieClip.localToGlobal() and MovieClip.globalToLocal() to convert the movie clip's local coordinates to Stage coordinates, or Stage coordinates to local coordinates, respectively.

#### Example

In the following example, the object that the `getBounds` method returns is assigned to the identifier `clipBounds`. You can then access the values of each property and use them in a script. In this script, another movie clip instance, `clip2`, is placed alongside `clip`.

    clipBounds = clip.getBounds(_root);
    clip2._x = clipBounds.xMax;

#### See also

`MovieClip.globalToLocal()`, `MovieClip.localToGlobal()`