ScreenToMapY
From Spheriki
Converts a screen Y coordinate to a map Y coordinate.
Contents |
Usage
- 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.
Examples
See the example for ScreenToMapX().
Notes
- This function only operates correctly while the map engine is running.