# Multiply {{< image-center src="images/2_DevMode/vfx_editor/nodes/multiply_1.png" alt="The Multiply Node" >}} This **Node** can be used to multiply two values together. You can specify the values to multiply, or supply one or two [Node Inputs](#node-inputs) and the node will output the result of the multiplication of the two values. When specifying values, you can add them directly to the node input boxes, or you can add them through the [Inspector](../../menus/#inspector) window: {{< image-center src="images/2_DevMode/vfx_editor/nodes/multiply_2.png" alt="The Inspector Window Inputs For The Multiply Node" >}} ### Node Inputs This node accepts the following the inputs: - ##### X The first input to multiply. This can be either a scalar input or a vector input. - ##### Y The second input to multiply. This can be either a scalar input or a vector input. Note that when using this node, the multiply operation is commutative and *only* the following types should be multiplied: $$ \begin{aligned} \mathrm{Float} \times \mathrm{Float} &\rightarrow \mathrm{Float} \\ \mathrm{Float} \times \mathrm{Vec2} &\rightarrow \mathrm{Vec2} && \text{(the float is converted to a Vec2 with 1 as the second component)} \\ \mathrm{Float} \times \mathrm{Vec3} &\rightarrow \mathrm{Vec3} && \text{(the float is converted to a Vec3 with 1 as the second and third components)} \\ \mathrm{Float} \times \mathrm{Vec4} &\rightarrow \mathrm{Vec4} && \text{(the float is converted to a Vec4 with 1 as the second, third, and fourth components)} \\ \mathrm{Vec2} \times \mathrm{Vec2} &\rightarrow \mathrm{Vec2} \\ \mathrm{Vec3} \times \mathrm{Vec3} &\rightarrow \mathrm{Vec3} \\ \mathrm{Vec4} \times \mathrm{Vec4} &\rightarrow \mathrm{Vec4} \end{aligned} $$ Trying to multiply together anything other than these types in the permutations shown will cause an error. ### Node Output The node will output either a scalar (float) value or a vector, depending on the inputs that were used. This value will be the result of multiplying the two input values together.