Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Vector:__index

S๐Ÿท๏ธ Vector

Part of StarfallEx namespace

๐Ÿ”— External
Vector:__index(t, k)
View on GitHub|lua/starfall/libs_sh/vectors.lua:103
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets a value at a key in the vector Can be indexed with: 1, 2, 3, x, y, z, xx, xy, xz, xxx, xyz, zyx, etc.. 1,2,3 is most efficient.

Parameters

NameTypeDescription
knumber|stringto get the value at

Returns

TypeDescription
number|function|Vector|nilThe value at the index

Examples

No examples available.

Used In

No usages found in the codebase.