Vector:__index(Vector, string)

shared
Gets the value of a vector field.

Arguments

Returns

  • number The value of the vector field.

Examples

Vector:__index – Gets the value of a vector field.