Clone wiki

Core / line

Back to Beyond the Codea in-app reference

FunctionIconFunction-Small.png line() function


The 'Graphics' chapter of Codea's in-app reference documents most of the line() function. The function draws a line between two points.

From Codea version 1.5, how the line is rendered differs from how versions before 1.5 rendered the line. This may cause thin lines in old code to appear about twice as thick as the author of the code intended.