Wiki

Clone wiki

Core / point

Back to Beyond the Codea in-app reference


FunctionIconFunction-Small.png point() function

Introduction

Codea's built-in reference documents the ellipse() function. The undocumented point() function is similar, except that it draws a circle without an outline. The diameter of the circle is set by the pointSize() function.

Drawing a point

To draw a circle centred at x, y of diameter d:

pointSize(d)
point(x, y)

If the pointSize() function is not called, the default diameter of the circle is 3.

Updated