# MovieClip.globalToLocal()

#### Availability

Flash Player 5.

#### Usage

    my_mc.globalToLocal(point)

#### Parameters

`point` The name or identifier of an object created with the generic Object object specifying the x and y coordinates as properties.

#### Returns

Nothing.

#### Description

Method; converts the `point` object from Stage (global) coordinates to the movie clip's (local) coordinates.

#### Example

The following example converts the global x and y coordinates of the `point` object to the local coordinates of the movie clip.

    onClipEvent(mouseMove) {
    	point = new object();
    	point.x = _root._xmouse;
    	point.y = _root._ymouse;
    	globalToLocal(point);
    	trace(_root._xmouse + " " + _root._ymouse);
    	trace(point.x + " " + point.y);
    	updateAfterEvent();
    }

#### See also

`MovieClip.getBounds()`, `MovieClip.localToGlobal()`