= Operator

From Legacy Roblox Wiki
(Redirected from Assignment Operator)
Jump to navigationJump to search

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