Hi,
you need to experiment with each feature in isolation.
- raycasting, try to raycast from the a mouse click and place a gameobjecton the hit point in the scene, that's how you start with this. the action "mousepick" would be a simple start but it hides a lot of the complexity so that you fully understand raycasting
- for deducing direction, try with two simple gameobject, and get the direction between the two ( end position - start position, then normalize that), use actions like Vector3Operator, Vector3Normalize. then using that vector, try to move a third object along that direction to verify it's correct. then you will replace the start and end gameobject with your player position and mouse click raycast hit point.
work in small steps to acquire the basics, what you are asking is not trivial and you need to assimilate lots of concepts, within Unity, within 3d world in general and in playmaker.
Bye,
Jean