API Docs for:
Show:

LivePreviewInfo Class

Module: gs

Stores internal preview-info if the game runs currently in Live-Preview.

Item Index

Properties

executedCommands

Number

Counts the amount of executed commands since the last interpreter-pause(waiting, etc.). If its more than 500, the interpreter will automatically pause for 1 frame to avoid that Live-Preview freezes the Editor in case of endless loops.

timeout

Number

Timer ID if a timeout for live-preview was configured to exit the game loop after a certain amount of time.

waiting

Boolean

Indicates if Live-Preview is currently waiting for the next user-action. (Selecting another command, etc.)