SecondBASIC Documentation v3

Home / Function Reference / ReadTile()

ReadTile()

Description: Reads the tile value located a <x>, <y> from VRAM.

Syntax:

ReadTile(<x>,<y>)

Part Description
<x> Required. The x-coordinate on the drawing plane.
<y> Required. The y-coordinate on the drawing plane.

Example:

        DrawTile 1,10,20
        Print ReadTile(10,20)

Note: ReadTile() relies on the active drawing plane.