Click to Move System in Unity

Jared Amlin
Level Up Coding
4 min readJan 23, 2023

--

Using a click to move system is very popular with strategic adventure games, so let’s take a look at setting this up with raycasting.

Here is the game scene, which has a player character and a target object to show the destination position of the player.

--

--

I am an artist and musician, that is currently diving headfirst into game development with C# and Unity3D.