. (property / instance method)
The default accessor. Properties stay . in Luau. Instance method calls emit Luau :.
Syntax
Section titled “Syntax”instance.Propertyinstance.Property = value;instance.Method(args);Parameters
Section titled “Parameters”None.
Return value
Section titled “Return value”The property value, or the method result.
Luau emit
Section titled “Luau emit”instance.Property · instance:Method(args)
Description
Section titled “Description”Use . for everything standard: Name, Parent, Value, dictionary keys, and instance methods (Kick, FindFirstChild, WaitForChild, …).
Protected (non-throwing) calls use :. Static names and manual Connect use ::. Janitor connections use ~>.
Designated initializers also start with .: .Field = value.
Example
Section titled “Example”player.Name = "Kartz";player.Kick();workspace.FindFirstChild("Baseplate");DataService.Server.WaitFor(player);Emits:
player.Name = "Kartz"player:Kick()workspace:FindFirstChild("Baseplate")DataService.Server:WaitFor(player)See also
Section titled “See also”operator-table · operator-method · operator-janitor · operator-designated