Luduvo Contents
Theme

QueryColumn

one column a query matched, holding a value per entity

Reading a Column by Row

Lifecycle: Shared

Every column of a query is indexed by the same row number, from 1 up to the matched count.

Luau
local parts = game.World.Query("Position")game.World.System("highest_part", parts, function(q)	local highest = -math.huge	for i = 1, q.count do		local position = q.Position[i]		if position.y > highest then			highest = position.y		end	endend)