Skip to content
lsl.devlsl.devLSL Dev

Variables and scope

This page will cover declaring variables, the difference between global variables (declared before the states) and local ones, and scope: as the wiki notes for user-defined functions, “Only global variables and the function parameters are visible; any local variables from where the function was called from are not directly available.”

The quotation is from the Second Life Wiki page Category:LSL User-Defined Functions (revision 1216649, 2024-05-12); history, by Second Life Wiki contributors, under CC BY-SA 3.0. Last wiki edit: .