![Point & Click to Move in Unity — Part 2: Creating a Raycast from Mouse Click | by Rusben Guzman | Medium Point & Click to Move in Unity — Part 2: Creating a Raycast from Mouse Click | by Rusben Guzman | Medium](https://miro.medium.com/v2/resize:fit:1184/1*TNzb3MR0KAWxjcOtWBNKdg.png)
Point & Click to Move in Unity — Part 2: Creating a Raycast from Mouse Click | by Rusben Guzman | Medium
![I feel like this code is pretty straight forward, but the raycast doesn't hit anything... I've checked the colliders and removed the LayerMask but it still won't work. I hope y'all can I feel like this code is pretty straight forward, but the raycast doesn't hit anything... I've checked the colliders and removed the LayerMask but it still won't work. I hope y'all can](https://i.redd.it/80k9pdpfqk3a1.png)
I feel like this code is pretty straight forward, but the raycast doesn't hit anything... I've checked the colliders and removed the LayerMask but it still won't work. I hope y'all can
![Raycast not calculating correctly (doesn't go to mouse position) - Questions & Answers - Unity Discussions Raycast not calculating correctly (doesn't go to mouse position) - Questions & Answers - Unity Discussions](https://europe1.discourse-cdn.com/unity/original/3X/0/9/09371dd9fd1a8623fcf3d7dcf5f8be918742dde3.png)
Raycast not calculating correctly (doesn't go to mouse position) - Questions & Answers - Unity Discussions
![Unity SceneView Positionning object with mouse position in Editor script - Game Development Stack Exchange Unity SceneView Positionning object with mouse position in Editor script - Game Development Stack Exchange](https://i.stack.imgur.com/imj8P.png)