SecondBASIC Documentation v3

Home / Function Reference / TvScanX()

TvScanX()

Description: Returns the vertical position of the TV beam. This value is not valid during the vertical blanking period. This value is taken directly from the VDP's HV counter.

Syntax:

TvScanX()

Example:

        a = TvScanX()
        Print a