ScreenToMapY
From Spheriki
Converts a screen Y coordinate to a map Y coordinate.
Contents |
[edit]
Usage
number ScreenToMapY(layer, y);
- layer Number, non-negative. The index of the map layer to convert the screen Y coordinate to.
- y Number. The screen Y coordinate to change into a map Y coordinate.
- number is returned, holding the final map Y coordinate.
[edit]
Examples
See the example for ScreenToMapX().
[edit]
Notes
- This function only operates correctly while the map engine is running.
[edit]

