"> "> PcoWSkbVqDnWTu_dm2ix



2 min

In Roblox, the tuple type refers to a list of Lua variables. If a Articles/Method|method accepts a tuple as an argument, that means it accepts multiple values. If a method returns a tuple, that means it returns multiple values.

As an example, the BindableFunction/Invoke|Invoke() method in BindableFunction accepts a tuple as an argument, meaning it can accept multiple arguments.

As another example, Workspace/FindPartOnRay|FindPartOnRay() returns a tuple. More specifically, it returns a Part and a DataType/Vector3|Vector3.

  • lua
  • value
  • tuple