gr_record_get_point(record, i);
Argument name Type Description
record Record The record
i integer The point index

Returns: (Point) The point number i inside the recording


Get the specified point in the specified gesture record. You can use the gr_point functions to get info about the point.


// This code will manually draw each point of the recorded gesture
var size = gr_record_points_number(record);
for (var i = 0; i < size; i++) {
var point = gr_record_get_point(record, i);
var xx = gr_point_get_x(point);
var yy = gr_point_get_y(point);
draw_circle(xx, yy, 3, false);