Assignment Operators
In osl you can use an assignment operator to set a variable to itself but modified by an operator. This allows you to compact code into a simpler format.
An example of an assignment operator is +=
where it adds a number to the variable or joins a string to the variable with a space
All Assignment operators
Increment/Decrement
Nullish Coalescence
Last updated
Was this helpful?