Assignment

From LuaSTG Wiki
Jump to navigation Jump to search

An assignment node assigns values to one or more variables. This node does the job with editor node as a replacement of Lua assignment statment.


Usage[edit | edit source]

Assignment node assigns a new value to existing variable. The new value can be of any variable type in Lua.


Variable[edit | edit source]

The left side of assignment can not only be single variables, but also be anything that can be assigned, like self.x or so.