# PointToClient

### From LoTROInterface Wiki

API Reference > Turbine.UI.Control.**PointToClient()**

Converts a coordinate from control space to screen space.

## Syntax

Lua | |
---|---|

function Control:PointToClient(x, y); |

#### Parameters

*x*

Type: number

The X coordinate.

*y*

Type: number

The Y coordinate.

#### Returns

Type: number, number

The control coordinate for the screen coordinate specified.

## Remarks

Converts a coordinate from screen space to control space. The coordinate is relative to the top left of the game client window and the returned coordinate will be relative to the top left of the control.