# PointToScreen

### From LoTROInterface Wiki

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

Converts a coordinate from control space to screen space.

## Syntax

Lua | |
---|---|

function Control:PointToScreen(x, y); |

#### Parameters

*x*

Type: number

The X coordinate.

*y*

Type: number

The Y coordinate.

#### Returns

Type: number, number

The screen coordinate for the control coordinate specified.

## Remarks

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