= Operator

Revision as of 01:56, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The '=' operator is used to assign a value to a variable and a value to a property.

Where it is used

This operator is used in many things such as variable and property assignments.

Example

This code would set the part named "Part"'s Anchored property to false:

Workspace.Part.Anchored = false

myVariable = 1337


See also