Hi, how can I put an object as target by selecting it?

Hi guys, sorry I’m really noob with scripting and I’m using PlayMaker for my game. now I need when I click on a object that object considered as target! how should I do that? thanks


That depends on the movement script you are using.
Generally most movement scripts have a ‘target’ transform. You will need to move that transform to the point that you clicked on to get the desired behavior.

In the example scenes there are also scripts to do this.