FANDOM


Syntax

DOTCOLOR [xcoordinate ycoordinate]

(DOTCOLOR)

Explanation

DOTCOLOR returns the color of the pixel identified by its argument. The color is identified by a number from 0 to 15 or 255 corresponding to BACKGROUND or PENCOLOR.

(DOTCOLOR) with no arguments enclosed in parentheses returns the color of the pixel under the turtle.

Examples

Pc logo 15

This is a DOTCOLOR command example. Its executes the "(DOTCOLOR)" command.

? (DOTCOLOR)

Result: 15

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.