I was creating a blueprint script based on a picture when I came across the following node (the nodes you see surrounded red). Do I press a certain button or go through a certain menu to insert this?

Hi,

green value - is float, it’s like 3.14 or 7.15 and yellow is vector (2D or 3D), it’s like 2 or 3 values together [3.14,7.15] so you can’t just add one value to 2 others this way, you have to specify which value you want increase, to do so use 2 functions instead:

- make vector (2D or 3D depending on what kind is your yellow vector)
- vector * vector

to keep any value unchanged in your vector just multiply it on 1, because “any number” * 1 = same “any number”

Just to chime in here, what you see is a multiplication node which multiplies a vector (which is the X Y Z location in space) by a constant float value (a number which includes decimal places.) When using this particular node, each value of the vector is multiplied by the constant float value.

For example, you have a vector of **X:10, Y:20, Z:10** and you multiply it by a value of 10.0 (floats do not need to have decimal places but is often necessary to use instead of an Integer for it’s return value and accuracy.) Using the values above your new return vector (the yellow pins) would return **X:100, Y:200, Z:100**.

In order to get this node simply drag off a yellow vector pin and release into open space. When the context menu pops up just type in a * and all the relevant nodes for multiplication will be shown, which includes the above “Vector * float”

Also with vectors (and other variable types like structs) you can right-click the pin and choose to expand the information (as long as the pin is not connected to another node.) In your example above, if you right-click on the yellow “Return Value” of either the Get Forward Vector node or the Get Right Vector node, and choose to expand it, it will turn from a yellow vector pin into 3 floats which would be the X Y Z of the vector. From there you can drag off and multiply each one individually or ignore one altogether. It is worth noting that if you need a different value to be multiplied (or even added, subtracted or divided) you can just use a “Vector * Vector” node (or relevant math type based on needs) and enter the values for each direction individually.

Hope this helps!

Thanks, this makes so much more sense now

Thank you so much, that makes so much more sense. Since I’m fairly new here, i found that the nodes change their look according to what their situation is. Thanks again

I want to correct this. The Vector here is 3D. The 2D Vector has another color!

Would you mind accepting the answer that helped you solving your problem? (: