GXSceneMove - boxgaming/gx GitHub Wiki

Syntax

GXSceneMove dx&, dy&

Description

Moves the scene position by the number of pixels specified by the dx and dy values.
The default position for a scene is (0,0). Negative x and y values are valid. A non-zero value for dx will move the scene by the number of pixels specified to the right or left. A non-zero value for dy will move the scene by the number of pixels specified up or down.

Examples

Example1: Move the scene left 3 pixels and down 5 pixels.

GXSceneMove -3, 5

See Also

GXScenePos, GXSceneX, GXSceneY, GXSceneWidth, GXSceneHeight, GXSceneColumns, GXSceneRows