Doc: FPS ( )

FPS - return the actual FPS

Syntax

actualFPS = FPS ( )

  • actualFPS - actual FPS returned as integer

Explanation

FPS() returns the actual FPS drawn.

Examples

Show the Current FPS

The example code below will display the actual FPS.

SetFPS 60

Do
    Cls 0
        Print "Actual FPS :" + Str$(FPS())
    Sync
Loop

Related Pages

Categories: Functions : Graphics