---
title: "Discussion on \"Unity Random Point Outside Camera\" | Hashnode"
description: "Discussion on \"Unity Random Point Outside Camera\". First we will get the x, y coordinates of the camera relative to the Viewport this will ensure that we'll have the edges of the camera view no matter the aspect ratio of it.\nPs. I use this Range struct just because i prefer to read min, max instead o..."
url: "https://hashnode.com/posts/unity-random-point-outside-camera/614fcc8994bb297e1aad7742"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Unity Random Point Outside Camera](https://edevjogos.hashnode.dev/unity-random-point-outside-camera?utm_source=hashnode&utm_medium=feed)

First we will get the x, y coordinates of the camera relative to the Viewport this will ensure that we'll have the edges of the camera view no matter the aspect ratio of it. Ps. I use this Range struct just because i prefer to read min, max instead o...

Sep 26, 2021 · 2 min read · edevjogos.hashnode.dev  
Updated Nov 5, 2021  
Read the article

-   [#unity](https://hashnode.com/tag/unity)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Elias Lessa](https://hashnode.com/@EdevJogos)

@EdevJogos · Brazil, RS

  
[View profile](https://hashnode.com/@EdevJogos)

Unity Developer

Hi, my name is Elias, i'm developer from Brazil graduated in Digital Games at the UNISINOS University.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
