---
title: "MTPoint | Mobile sdk | Mobile sdk ios | Ios"
description: "Two numbers representing x and y screen coordinates in pixels."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTPoint

```
public struct MTPoint : Codable, Sendable
```

Two numbers representing x and y screen coordinates in pixels.

-   `[init(x:y:)](#/s:11MapTilerSDK7MTPointV1x1yACSd_Sdtcfc)`
    
    Initializes the point with x and y values.
    
    #### Declaration
    
    Swift
    
    ```
    public init(x: Double, y: Double)
    ```
