points_get()

Retrieves the value of a specified axis from a stored point in the points list.

Syntax

points_get(index, axis)

Parameters

Parameter Type Description Comment
index Number Index of the point in the list Starts from 0
axis Number Axis index (0-8)

Return Value

Examples

Retrieve the X coordinate (axis 0) of the first stored point

points_get(0, 0);

Retrieve the Z coordinate (axis 2) of the third stored point

points_get(2, 2);

See also

points_count
points_clear
points_add
points_get
points_set
points_delete
points_load
points_save