Categories


Description :

Returns the width of the game screen.

Uses :

Use this for getting the width of the game screen. This is the same value as set under scene properties.

Example :

This code places the object at the center of the screen when it receives a Reset message. X coordinate of the center is half of the ScreenWidth.