Pulling a vector 3 back?

I have a raycast that when hits a brick, it deleted, or places. vut it places inside of the exitigng brick. how would I make it so that the hit place is actualy closer to the placer? like .1 vector closer.

You can either back it up using the hit.normal:

var hitss = hit.point + hit.normal * someValue;

…or you can reverse the direction used in the raycast:

var hitss = hit.point - ray.direction * someValue;

‘someValue’ is either a variable or a constant indicating how var you want to back it up. For what I think you mean by “1 vector closer,” replace with 1.0.