Get further vector based on vector direction

I know it probably exists, but I can’t find method or name of this operation. The thing is that vectors A and B are given. Based on their direction I want to calculate vector C that is alongside this imaginary line, further than vector B.


I was looking for a method or some kind of operation, but it turned out it’s easier than I thought. In my case vector A was (0, 0, 0) so to get vector C i just need to multiply vector B by a certain number. If vector A is not it’s probably a little more complicated, but this idea still applies.