---
title: "convert(_:from:)"
framework: spritekit
role: symbol
role_heading: Instance Method
path: "spritekit/skview/convert(_:from:)"
---

# convert(_:from:)

Converts a point from scene coordinates to view coordinates.

## Declaration

```swift
func convert(_ point: CGPoint, from scene: SKScene) -> CGPoint
```

## Parameters

- `point`: A point in scene coordinates.
- `scene`: A scene.

## Return Value

Return Value The same point in the view’s coordinate system.

## Discussion

Discussion This method performs the coordinate conversion as if the scene is presented inside the view.

## See Also

### Converting Between View and Scene Coordinates

- [convert(_:to:)](spritekit/skview/convert(_:to:).md)
