You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serra Royale edited this page Jun 11, 2025
·
37 revisions
This category contains built-in LSL functions.
Mutability
All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to modify a variable's value indirectly; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).
Built-in functions will never modify the variables used as parameters.
User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters.