Skip to content

GXSceneColumns

boxgaming edited this page Sep 27, 2021 · 3 revisions

Syntax

sceneColumns% = GXSceneColumns

Description

Returns the number of tile columns that can be displayed within the scene.
This value will be zero unless a tiled map has been created or loaded.

Examples

Example1: Get the number of tile columns in the scene.

DIM sceneCols AS INTEGER
sceneCols = GXSceneColumns

See Also

GXScenePos, GXSceneMove, GXSceneX, GXSceneY, GXSceneWidth, GXSceneHeight, GXSceneRows

Clone this wiki locally